DeepSeek Harness Plugin

Archaofan/dsh-source-deck

Stars ★ 2 Category UI Enhancements Added 2026-10-18

In-conversation source deck for DSH Desktop (supports DSH 0.2.2-rc.2): the current chat model runs LLM search rounds, candidates render as GitHub-aware cards, and keep/exclude feedback, favorites, and the selected sources stay in the same conversation.

Install

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/Archaofan/dsh-source-deck/releases/download/v0.4.3/dsh-source-deck-0.4.3.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Archaofan/dsh-source-deck

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

中文(默认) | English

GitHub · 0.4.3 latest · Stable 0.3.0 · GitMCP · Marketplace catalog

SourceDeck is an open-source research workbench for DeepSeek Harness Desktop. It brings “let me see how others did it” out of a dozen browser tabs, scattered bookmarks, and chat history into one sidebar: background research, card-based screening, side-by-side comparison, and selected repositories referenced back into the current conversation.

Why SourceDeck

Most product designs already have open-source implementations. Instead of reinventing the wheel, the usual move is to find a mature project, read its architecture, interactions, and tradeoffs, then decide whether to reuse it, borrow from it, or deliberately avoid it.

The hard part is rarely finding something. It is what happens after: how do you compare a dozen repositories quickly? Which ones did you review, and why did you reject them? How do you bring the selected ones back into the conversation so the Agent can continue against real code?

SourceDeck is built for that middle step. It turns a research pass into a traceable chain:

state the need → background research → screen the cards → compare side by side → reference back into chat → keep building

Good for: technology selection, competitive or analogous project research, finding reusable implementations, and giving the Agent real background sources.
Not for: replacing deep code audits or formal security/compliance review.

Screenshots

0.4.3 keeps the 0.4.0 interface (neither 0.4.1 nor 0.4.3 changed the UI). These are actual 0.4.0 Host screenshots (light Chinese / dark English). QA sources are synthetic acceptance fixtures demonstrating search, sorting, comparison selection and undo.

Light Dark
SourceDeck 0.4.0 light interface SourceDeck 0.4.0 dark interface

Chat and deck work together

The deck is not a separate search page. It shares the same conversation context as the chat on the left, so research results, screening decisions, and references stay in one place.

  1. Start from chat: type /deck find a few mainstream agent frameworks..., or simply say “use SourceDeck to find…”. The main Agent calls deck_search and starts an official managed child session; the main conversation stays usable.
  2. Results return to the same conversation: candidates appear in the right-side deck, while the chat keeps a compact source card. “Open in deck” returns to the original topic. Internal search prompts stay in the child session and do not flood the main chat.
  3. Decide in the deck: keep / exclude, write a reason, favorite, and compare up to four sources. Decisions are isolated per conversation/topic and never leak into another session.
  4. Reference back into chat: click “Reference in chat”; kept sources enter the composer as an immutable snapshot. Existing draft text and attachments are preserved, and nothing is auto-sent. Then continue with “study these repositories and propose an improvement for our design”.
  5. Re-decisions do not rewrite inserted references: later changes only affect future references. The inserted snapshot stays as it was and can be removed before sending.

The left side keeps the conversation going while the right-side deck stays in sync; the composer holds a SourceDeck reference and a follow-up instruction. These earlier-version screenshots illustrate the reference workflow:

Light Dark
Chat and deck working together, light Chat and deck working together, dark

Compatibility and installation

Item Exact version
SourceDeck 0.4.3
DeepSeek Harness Desktop 0.2.2-rc.2
@deepseek-ai/cordis 4.1.0

Only public APIs from 0.2.2-rc.2 are used. 0.4.3 is the current release (Latest) adapted to that baseline; 0.4.1 only supports 0.2.2-rc.1, and the published 0.4.0 only supports 0.2.1-rc.2. Only this RC baseline is maintained; fast-moving alpha builds are not supported. Moving to a newer RC or a stable release requires a separate evaluation and acceptance pass.

Download dsh-source-deck-0.4.3.tgz from the v0.4.3 Release, install it through the Desktop plugin manager, then restart when prompted. Do not use 0.4.2: its research round fails immediately on rc.2 (Cannot read properties of undefined (reading 'id')). Environments still on 0.2.2-rc.1 should use the v0.4.1 Release, and 0.2.1-rc.2 environments the v0.4.0 Release. During development, use a new version or a content-hashed tgz path: the package manager may cache the same version at the same path.

Market submission PR #7739 merged on 2026-10-18; catalog update PR #12339 merged on 2026-11-05, so the catalog entry points at 0.4.1 and notes DSH 0.2.2-rc.1 support. A catalog update for 0.4.3 is open as PR #14728 (entry file only); until it merges the market entry is still 0.4.1 (not valid for rc.2), so install 0.4.3 from the Release above. Catalog inclusion does not establish actual market-UI acceptance of any version. See market status.

Start from chat

  • Say Use SourceDeck to find a few mainstream agent frameworks and compare stars and maintenance. The model starts research with deck_search; natural-language triggering depends on its tool choice.
  • For a deterministic entry, use /deck Find extensible open-source Markdown editors. Arguments start research; bare /deck only opens the deck.
  • The composer button, right-sidebar + → Deck, and conversation cards also open it. Historical cards target their original topic.

Research runs in an official managed child session, inheriting the parent's model configuration and credential policy. It creates extra concurrent model requests. The Host samples recent parent messages as context. Internal search/follow-up prompts remain in the child; the parent can continue development, with concise command/tool status and source cards.

Workers may only use web_search, web_fetch, and deck_submit_sources. Official web tools and the spawn provider must be available. Startup failure is explicit; the plugin does not change configuration or upgrade the baseline.

Screen and compare

Search titles, URLs, notes, screening reasons and existing language, license and topic metadata together, for example TypeScript MIT. Space-separated terms must all match. Candidates and favorites remember separate queries and sorts. Original order is the default; candidates can be sorted within each round by stars, code push or name, with unknown values last.

The comparison list shows selected names, supports individual removal or clearing, and follows selection order with up to four sources. Below 620px, dimensions appear vertically with source labels; wider panes use a table. Undo restores the prior verdict and reason for the latest confirmed local choice; changing topics, later edits to that item or observed conflicts expire it.

Cards prioritize the existing Research judgment, with full notes and descriptions retained in details. New research prompts ask for task applicability and material uncertainty, and respect explicitly named sources or counts. These instructions do not guarantee factual accuracy. Queries, sorts, comparison choices and drafts continue between the composer entry and historical cards for the same topic.

Cards show saving status. References and direct summaries wait for pending screening writes; failed saves preserve drafts for retry. Reads occur approximately every two seconds during research and every thirty seconds for idle results. Periodic full reads pause in favorites or hidden panes and refresh on return.

0.4.3 adapts SourceDeck to DSH 0.2.2-rc.2. rc.2 flattens startActivation from request: { parent, prompt } to top-level parent/prompt fields — the one real interface break, and why 0.4.2 failed to start any research round; 0.4.3 passes the flat spec and adds a regression test. Every other contract difference is an unused optional field (insertQuote summary, consumeOlder, markdown.fence), plus the required zod@4.6.6 for typert-protocol rc.2. All 95 tests, the build, official installation and installed-byte checks passed; the actual Host (0.2.2-rc.2-ddac967) exercised the deck entry/tab, manual add, keep/undo, reference chips, settings and data clearing, and with the user's authorization to reuse the production DEEPSEEK_API_KEY (removed and restored afterwards) the real model round completed: ~40-second background research returned two real GitHub sources, and a kept MDEZ++ reference that the model read correctly and answered from alone. Native zoom, real IME/attachment combinations, screen-reader speech and human observation remain limited. See this adaptation and acceptance. 0.4.1 only supports 0.2.2-rc.1; 0.4.0 only supports 0.2.1-rc.2.

  1. Cards show a project image/Logo, then try the GitHub owner avatar, then a monogram. GitHub stars, last code push, lookup time, and evidence link are separate. Unknown facts stay unknown; zero stars stay zero.
  2. Keep or exclude; click the active verdict again to return to pending. Expand the optional reason. Favorites and comparison do not change verdicts.
  3. Add up to four sources to the comparison panel for descriptions, stars, dates, languages, licenses, reasons, and URLs.
  4. Cards default to two columns, automatically becoming one below 620px of panel content width. Light/dark modes follow the Host, including settings select options. Request/note/reason drafts and comparison choices are stored per session/topic in browser sessionStorage.
  5. Open the follow-up editor to continue the same topic with current decisions and reasons. New search opens editing first; Start creates a new set. Cancelling preserves the draft and current results. Historical conversation cards reopen their original sets.
  6. Screening, favorites, comparison, and references remain available during research. Stop affects only that worker. A five-minute timeout ends the task and keeps partial results. Unrestored work is marked interrupted after Host restart and can be retried.

Reference and continue development

Press Reference in chat (N sources). Existing draft text, attachments, and references remain; nothing is auto-sent. Append an instruction such as:

Study the UI designs in these repositories, consider our existing components, then propose and implement improvements.

You can also type @deck in the composer and choose the current kept sources or a historical snapshot. References store an immutable snapshot of title, real URL, note, metadata, and screening reason; later verdict changes do not silently rewrite inserted sources. Click a reference to revisit its topic, or remove it before sending.

If the draft changes, the session switches, or the composer becomes unavailable during insertion, the original draft is preserved and a retry is offered. References invalidated by cleared data block sending until removed and reselected.

The secondary “Send screening summary” action delivers a summary immediately and makes the set read-only. Retries reuse the same request identity. Prefer references when you need to continue with a development instruction.

Favorites and settings

The ☆ control saves a card to the profile-wide favorites library, with search, remove, and re-add. Favorites are shared across sessions and survive restarts.

The SourceDeck settings page offers optional GitHub / Web / LLM-freeform source policies and a clear-data action. Policies are hints and flags, not a guarantee that model results comply. Uninstalling does not automatically delete existing records.

Data and limits

  • The local source_deck domain keeps eight tables: sets, sources, candidates, selections, scope_policies, session_active, rounds, and favorites. Legacy records remain readable; search results stay bound to their topic and round.
  • The plugin does not read credential files or store API keys. Search prompts and web requests go to providers under the Host configuration; external content is serialized as source data and never becomes user instructions.
  • Images depend on the origin site, network, and Host CSP; failures do not affect screening or links. Metadata that the model did not verify should not be treated as real statistics.
  • Concurrency is bounded by provider quota and official child-session settings. There is no cross-device sync, export, or version-chain diff.
  • The real-Host acceptance scope and remaining gaps are documented in the verification record.

Contributing

SourceDeck is still early, and many tradeoffs are worth discussing together. Fork it, open an issue, or send a PR.

  • Found a problem: open an issue with the DSH version, plugin version, reproduction steps, and relevant logs. Redact secrets first.
  • Want to change code: fork, branch from main, keep the exact peers, run node --test tests/*.test.ts and npm run build, and explain the motivation, tradeoffs, and verification in the PR.
  • Want to add a source or scenario: adapters and tests are welcome; please do not bring in alpha-only APIs.

You do not need to finish a whole feature. A clear scenario, one test, or one paragraph of documentation is a valuable contribution.

Find the project

Development

pnpm install
pnpm run build
node --test tests/*.test.ts
npm pack

Artifacts are the Host lib/index.js, Client lazy-CJS lib/client.js, types, icons, and Chinese/English locales. 0.4.3 keeps the two official tool packages added in 0.4.1 (@deepseek-ai/dsh-tool-executor-native, @deepseek-ai/dsh-tools; exact versions in the compatibility table above) and raises zod to 4.6.6 to match the typert-protocol 0.2.2-rc.2 types.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.