DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-decode

d

dsh-decode

Manifest valid

Before you say yes to an agent, ask how the code works: answers come with an interactive UML diagram (8 types) linked to the text, so pointing at a paragraph highlights it in the diagram and clicking

UI (client)hasBundlePatch

Decode

English · 简体中文

Are you a Yes Engineer?

Agent     Refactor the session layer?     > yes
Agent     Change 23 files?                > yes
Agent     Delete the old retry logic?     > yes
Agent     Option A or B?                  > you pick
Agent     Tests pass. Merge?              > gogogo

Lines written: +4,117
Lines read:    0

Reviewer  Can you explain this code?      > yes
                                          > no.

An illustration, not a measurement.

Yes Engineer. GoGo Engineer. Cognitive surrender, with a job title.

"You didn't review the code. You ratified it." — Addy Osmani, Cognitive Surrender

Decode is a DeepSeek Harness plugin. You ask about your repository in your own words. It answers with text, a diagram, files and code, all linked, and with evidence you can check.

Be the master of your own understanding. Learn your repository from a higher level.

npm dsh license file write tools

https://github.com/user-attachments/assets/cd28159f-6df6-4d27-8112-482d2d9be9ab

Decode answers a question about the deepseek-harness repository: step through the paragraphs, the diagram follows, a quote opens to its code

Above: in the deepseek-harness repository, "After a user sends a message, which parts does it pass through before the model's reply shows up on screen?". Each paragraph in turn; the diagram on the right highlights what the paragraph is about; then the cited code opens, and "Ask about this" puts the paragraph into the input box (nothing is sent).

Install

dsh web or the desktop app: Plugins → Add plugin → enter dsh-decode@preview → Install. Then pick Decode in the session's mode menu.

Command line:

dsh plugin --profile web add dsh-decode@preview

Then restart dsh web. Needs dsh 0.2.1-rc.5 or a newer 0.2.x. To upgrade, remove the plugin and add it again.

Ask your first question

After a user sends a message, which parts does it pass through before the model's reply shows up on screen?
If the format of the events in the session log changes, which parts are affected?
How do the Standard, PTC, Minimal and Creator modes differ?

Decode is good for flows across modules, state changes, the impact of a change, how several approaches compare, processes and deployment. To look up one place in the code, the standard mode is faster.

Ask in English and the answer is in English; ask in Chinese and it is in Chinese.

Everything is linked

You do thisThe page does this
Hover a paragraphThe diagram follows
Click a step in the diagramThe text goes to its paragraph
Change a sequence diagram to CommunicationThe same steps show who talks to whom
Point at a folder in the diagram's colour keyIts parts light up in the diagram and the map
Open the mapYou see where the files live in your repository
Open a quoteYou see the exact lines
Type in FindThe list changes on each key
Click Ask about thisThe paragraph goes into your input box. Nothing is sent.

It even warns you. This line is always at the top of the card:

A quote found shows the code exists, not that the conclusion is verified.

See it answer

Question: Which processes take part when you run dsh web, and how do they communicate?

The answer with its quote count on top: 14 of 15 quotes found in the files, 1 without source; on the right the deployment diagram highlights what paragraph 2 is about

Above the answer, the count: 14 of 15 quotes were found in the files, and the one without a source is marked under its paragraph. On the right, the deployment diagram lights up what paragraph 2 talks about.

Question: Before the agent runs a command or changes a file, which permission checks and approvals does it go through?

A sequence diagram on its own tab: the steps of paragraph 2 are lit, the opt blocks hold the paths taken only when a check asks

The sequence diagram on its own tab. The steps of paragraph 2 are lit; the opt blocks are the paths taken only when a check asks.

Open a quote, and you see the lines of code it rests on:

One quote opened to its lines in pipeline.ts; below it, a second piece of evidence marked Inferred

Below it, a second piece of evidence is marked Inferred: the model quoted no code there, and the page says so.

Why yes becomes a reflex

You do not surrender when you write code, because writing keeps you in a loop of guess, fail and fix. Reading agent code has no such loop:

  • Generation effect: you remember what you work out yourself. Now the agent works it out.
  • Prediction error: each failure is a learning signal. With no prediction of your own, nothing fails.
  • Framing the problem: you used to decide what to look for. Now the agent decides.
  • Fluency illusion: agent code reads smoothly, so you think you understand it. It can pass the tests and still be wrong for the system.

Each yes makes the next one easier. Your picture of the system goes wrong in places you cannot point to, and no dashboard shows it: throughput counts approved work the same as understood work.

What Decode does about it

Osmani's article gives the habits that stop surrender. Decode builds them into the tool:

Habit against surrenderWhat Decode does
Write down what you expect before you lookYou ask first; it does not lecture. You frame the question.
Have it explain before it generatesThe mode explains. The model gets no file write or edit tools.
Ask for evidence, not "looks right"Each paragraph quotes code, checked against the files; a quote it cannot find is marked.
Do not take its authority on trustThe warning above stays on the card. The sign-off stays yours.
Correct on the surface ≠ correct for the systemA diagram across modules follows the current paragraph; a folder tree and a map put the files back into the repository's layout.
Collaborate, do not delegate"Ask about this" only fills the input box. The next question is yours.

What it does not do

  • It does not judge for you. A quote found only means the code the model copied is in the file. It does not mean the code supports the paragraph.
  • It does not build the understanding for you. Only you can. Decode makes it cheaper: fewer files to open, fewer call paths to guess, less time lost in the repository.
  • It does not review a diff for you. You ask about the repository; you cannot attach a diff or an error to a question.
  • It does not guarantee that files stay unchanged. The model has no file write or edit tools, but it has the terminal, under dsh's own permission settings. For an unknown repository, set terminal commands to ask you first (details). The plugin itself runs only read-only git commands and uploads nothing.

"An AI reads it to me. Isn't that still passive?"

To be told and to be able to check are two different things. An ordinary answer asks you to trust it or not. Decode gives you where the evidence is, how the parts call each other, and a map. You can check it, find your way, and ask the next question.

More

  • Usage details: how to read each part of an answer, time and tokens, tools and safety, the web routes, development and the code.
  • Changelog
  • Third-party material: THIRD_PARTY_NOTICES.md (cw-uml, vscode-icons, claude-files-pane, all MIT)

License: MIT

Comments

Loading…

Similar plugins

dsh-opencode-live

by lof6yo

Runs OpenCode as a DSH subagent over ACP and shows each task live in the right sidebar — its agent and model, tool calls, and the subagents OpenCode spawns itself; permission requests become DSH quest

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 30, 2026

dsh plugin --profile web add dsh-opencode-live

Match your models and token budgets to each role, then let DSH delegate specialized subagents by task type. Covers architecture analysis, UI/UX, code implementation, codebase exploration, and document

Workflow & AutomationTerminal & ClientsManifest valid

★ 0

↓ 310/wk

dsh plugin --profile web add oh-my-dsh-slim

Composer code-quote collapse for the DSH Web UI: pasting a `path:line` header followed by code folds the input into one compact inline quote token (Ctrl+Z reverses it), and at send time the `agent/pre

UI & ExperienceTerminal & ClientsManifest valid

★ 0

↓ 87/wk

dsh plugin --profile web add dsh-code-quote

by BAIYE0303

Adds a button to the composer that restates your draft, then asks a few questions with clickable options — every question offers an "I don't know, you decide" escape — and only then rewrites the draft

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 2

MIT

JavaScript

Nov 1, 2026

dsh plugin --profile web add dsh-ask-first

by wukiQAQ

Codex-style keyboard answers for the pending command-approval panel — 1 allows once, 2 rejects, Enter confirms the highlighted choice, arrow keys move it, and Esc rejects, with the buttons still usabl

UI & ExperienceManifest valid

★ 0

JavaScript

Oct 15, 2026

dsh plugin --profile web add dsh-enter-using

by omdsh-dev

把Claude Code的UltraCode模式带给DSH,把 DSH 的一次性多 Agent 调度,升级为可生成、可保存、可治理、可观察、可恢复的 Workflow 层

Workflow & AutomationManifest valid

★ 159

MIT

TypeScript

Oct 14, 2026

dsh plugin --profile web add @dsh-external/workflow