DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

RonnieGex /

RonnieGex/dsh-cited

Verified

Cited for DeepSeek Harness: search your documents and answer with citations. Install by pasting this repository in Plugins.

★ 0 Stars0 Forks1 IssuesN/A Community rating0 Confirmed installs
View on GitHubProject homepage
READMESource: main@3e1ad70f

Cited inside DeepSeek Harness: ask your documents and get an answer with its source

Ask your Cited documents from DeepSeek Harness and get the source with every answer.

License: Apache-2.0 dsh-tools peer range CI Status: early development

English · Español · 中文

  • Keep your documents in Cited while you work in your agent.
  • Check answers against numbered source passages.
  • Choose document search or a full cited answer.

Cited inside DeepSeek Harness. Two native tools let your agent search a Cited installation and answer from its documents with numbered citations. The plugin connects to your configured installation over POST /api/mcp.

Early development. Installation and a real cited answer have been exercised headlessly. See the dated compatibility table for verification limits.

How it works · Real answer · Install · Configure · Tools · Token · Compatibility · Development · License

How it works

Run the installation command, configure url and token, ask your agent for a cited answer

  1. Run dsh plugin add github:RonnieGex/dsh-cited.
  2. Open the plugin configuration and set url and token.
  3. Ask your agent. It calls cited_search or cited_ask and answers with [1].

Cited hosts documents and retrieval. DeepSeek Harness hosts the agent and this plugin. No MCP client row in cordis.yml is needed for these native tools.

Requirements

  • DeepSeek Harness within the declared peer range.
  • A running Cited server with MCP enabled and its token.
  • Node >=22.19; development and evidence use Node 24.

A real answer

Natural English question: DeepSeek calls cited_ask and answers with a 90-day repair guarantee [1] and its own passage from bike-workshop-policies.md, Guarantee, position 4.

Yes. Every repair carries a 90-day guarantee on the work, and parts carry the guarantee of their maker [1].

3 of 3 English questions received a supported guarantee citation from an English document. The earlier batch behind the Spanish example scored 2 of 3: its two Spanish questions succeeded, while its English question missed the Spanish price passage. Keyword search without embeddings can miss a Spanish passage when asked in English. Recorded on 2026-10-09 with the plugin installed from GitHub main in temporary headless state. The image shows the selected cited_ask exchange and the complete English answer, with its own source highlighted inside TOOL RESULT. Terminal Markdown stays raw. The English transcript, English outcomes, Spanish-example outcomes and verification details preserve the evidence and limits.

Install

Run the verified installation command:

dsh plugin add github:RonnieGex/dsh-cited

In the desktop app, use Plugins → Add plugin and paste https://github.com/RonnieGex/dsh-cited (not click-tested; see Compatibility).

The repository ships lib/: installation needs no compilation or allowBuilds permission.

Configure

Open the plugin configuration:

Field Value
url Your Cited address, such as https://cited.example.com. The plugin appends /api/mcp, or preserves it when already present. Query strings and fragments are dropped.
token The server's CITED_MCP_TOKEN. Marked as a secret field.
timeoutMs Positive call timeout in milliseconds; 30000 by default.

Without a server token, Cited’s MCP endpoint is off. Generate one with openssl rand -base64 32, set it as CITED_MCP_TOKEN on the Cited server (see the MCP guide), and enter the same value in the plugin. Keep it out of prompts, screenshots and Git.

url and token start empty so you can install before configuring. A call reports the missing field as a tool error without breaking the harness. After filling both, ask your agent to search a phrase present in your documents.

The two tools

Tool Input Result
cited_search query: string, limit?: integer from 1 to 8, default 5 { passages: [{ n, document, heading, position, excerpt }] }
cited_ask question: string, sessionId?: string { status, answer, citations }; status is answered or refused

Search, then let your agent answer. cited_search retrieves passages without calling Cited's answer model. Each has its source and citation number. No matches means no passages, not an invented answer. The calling agent's model and any configured embedding provider can still incur charges.

Let Cited write the answer. cited_ask invokes Cited's answering pipeline and returns a cited answer or an explicit refusal. Citations have the passage fields above plus lead, the overlap length. The text result includes each source's document, section, position and exact excerpt. Reuse sessionId to persist a conversation and its thread on Cited. This can consume that server's model budget.

Your token

  • Sent as Authorization: Bearer to the configured endpoint; not added to tool arguments or normal output.
  • Marked secret in the configuration schema for the harness's field handling. This does not establish encryption at rest. Protect the configuration; use HTTPS for remote servers.
  • Redacted from transport failures, together with URL credentials. Rejected authorization, disabled endpoint, timeout and unreachable host become short tool errors.
  • The plugin owns no document database. Cited stores documents and conversations created through cited_ask with a sessionId.

Troubleshooting

Error Fix
Missing url or token Fill in the named field in the plugin configuration.
404 from Cited Check url, set CITED_MCP_TOKEN on that server and restart it.
401 from Cited Make token match the server’s CITED_MCP_TOKEN.
Timeout Check the host and network, then raise timeoutMs if needed.

Compatibility

Declared @deepseek-ai/dsh-tools peer range:

>=0.1.6-alpha.2 <0.3.0-0 || >=0.2.0-rc.0 <0.3.0-0

A range is not proof of every version. MCP clients below connect directly to Cited, without this native plugin.

Client Date Evidence and limit
DeepSeek Harness 0.1.6-alpha.2 2026-10-09 GitHub main plugin installation and three supported English guarantee answers in isolated headless state. Record; gate.
DeepSeek Harness 0.2.0-rc.2, bundled CLI 2026-10-09 Installed and answered in a local run on 2026-10-09; raw log not kept in this repository. Provenance.
Claude Code → Cited MCP 2026-10-09 Prior verification: connected and listed both tools. No model tool call claimed. Provenance.
Codex → Cited MCP 2026-10-09 Prior verification: connected and listed both tools. No model tool call claimed. Provenance.
Cursor → Cited MCP 2026-10-09 Documented only; not tested. Provenance.

Not verified: reliable cross-language retrieval without embeddings. In the English run, Cited refused and the agent falsely claimed the price was absent and a tune-up necessarily required inspection. In the earlier English run, it also falsely generalized that the documents did not cover bicycle services. These are agent errors, not evidence that the corpus lacks the price. The agent's marks [1] to [5] do not support its false claim; only the citations in the tool result carry Cited's source support. Desktop installation clicks, other operating systems and remote HTTPS deployments also remain unverified.

Development

Use Node 24. Keep a built DeepSeek Harness checkout at ../deepseek-harness, or set DSH_INSTALL to its root:

npx -y -p node@24 node scripts/link-host-deps.mjs
npx -y -p node@24 npm test
npx -y -p node@24 node scripts/build.mjs --check
npx -y -p node@24 npm run gate

Before the gate, set CITED_REPO to a built Cited checkout containing scripts/mcp-seed.ts and .next/ (gate default: ../cited). It creates sample data and a temporary DSH_HOME under .tmp/gate, starts Cited on port 3231, installs the local plugin, checks its card and tools, and scans Git history with gitleaks. Override CITED_PORT for another free test port. It never uses the desktop profile.

src/ is source; lib/ is the shipped artifact. npm run build refreshes lib/ after runtime changes.

CI runs portable transport, module, package, tool and documentation tests, build equivalence and secret scanning. Real Loader composition and the integration gate run locally with external checkouts; CI does not claim those integrations.

Render using Cited's existing Playwright dependency and installed Chromium. Set CITED_REPO to that checkout (renderer default: ../community-main):

npx -y -p node@24 node scripts/render-readme-graphics.mjs

Rendering uses saved evidence offline. A new capture uses a real model and API key. See the asset/evidence guide, project manual and contribution rules.

License

Apache-2.0. Keep NOTICE in redistributions. Outfit uses the SIL Open Font License. See asset provenance.

Katalis Built by Katalis

—/ 5

No ratings yet

Verified DSH bundle

Commit 3e1ad70fe310

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout