dsh-fulltext: Retrieving Evidence from Full Text and Generating Offline Reports

Introduction

The plugin ecosystem of DeepSeek Harness (DSH) makes “everything is a plugin” a reality. When conducting research or tackling complex tasks, you often need to extract original text excerpts from papers and generate archivable, shareable deliverables. If you can only rely on search result lists, you frequently lack context and structured data, while downloading PDFs and organizing them manually is highly inefficient.

dsh-fulltext is a plugin designed for exactly this purpose. It leverages the AI4Scholar index to perform full-text search across titles, abstracts, and body paragraphs on Semantic Scholar, returning interactive HTML reports. It also supports exporting CSV and JSON files for downstream processing or offline reading.

What It Is

dsh-fulltext is an online tool plugin for DeepSeek Harness, maintained by literaf. It provides DSH with capabilities for original-text excerpt retrieval, interactive reading reports, and offline HTML/CSV delivery. The plugin does not download full PDFs; instead, it extracts query-relevant original text excerpts from the index and generates report files locally.

Core Features

  • Full-text search: Search titles, abstracts, and body paragraphs within the Semantic Scholar index, with filtering by year, field, venue, minimum citation count, and more.
  • Batch metadata enrichment: Perform batch queries on unique source papers to supplement year, venue, open-access PDF links, and other information.
  • Interactive reports: View interactive HTML reports corresponding to search results in the DSH workspace, with support for filtering, sorting, viewing source details, copying text, and switching between six reading themes.
  • Offline delivery: Each search result generates report.html, report.csv, and report.json, saved under $DSH_HOME/fulltext/reports/<report-id>/ (default: ~/.dsh/fulltext/reports/). The HTML includes all styles and scripts with no remote resources required; the CSV is UTF-8 with BOM and has formula protection.
  • AI curation: Use AI to curate generated reports, automatically adding numbered summaries and Chinese titles while preserving original excerpts and metadata. Curated drafts are not automatically sent or used to overwrite the original report.
  • Command-line interface: Provides three tool functions — search_fulltext, get_fulltext_report, and update_fulltext_report — for searching and saving reports, reading existing reports, and updating reports with file regeneration, respectively.

Installation and Activation

When installing via Harness, first open “Plugins,” install dsh-fulltext by package name, then restart Harness.

For a desktop CLI environment, you need to launch Desktop once first to initialize the configuration file, then fully quit it, and run:

dsh plugin --profile desktop add dsh-fulltext@0.2.1

For a web environment, replace --profile desktop with --profile web. Use the actual profile name for custom environments.

Configuring the API Key

The plugin needs to connect to AI4Scholar. In DSH, there are several ways to access the configuration:

  • Sidebar: “Full-text Search → Settings”
  • “Plugins → Installed → dsh-fulltext”
  • “Settings → Full-text Search”

You can save a dedicated AI4Scholar key at any of these locations, or reuse the existing AI4SCHOLAR_API_KEY. A dedicated FULLTEXT_API_KEY takes higher priority; removing this field will revert to using the shared key. Saving or deleting the dedicated key does not affect the shared key. Keys are stored through Harness’s native credential service, and the same-named environment variable is also supported.

Click the button next to “Get Key” to log in to ai4scholar.net and create a key on the Open platform. Even without the full Ai4Scholar plugin installed, you can independently install and use dsh-fulltext.

Searching and Reading

Open “Full-text Search” in Harness to search directly, or send natural-language commands in a conversation, for example:

/fulltext Find experimental descriptions of solid-state battery interfacial resistance. Return 5 excerpts and generate HTML and CSV reports.

The search returns original-text excerpts relevant to the query, with each result including the source paper’s title, abstract, source type, and other information. Optionally, you can perform batch metadata enrichment on unique source papers to obtain year, venue, and open-access PDF links.

Generated reports can be viewed in the workspace, with multiple delivery options: native preview, open in a new window, save to local file. All filtering, sorting, source detail, text copy, and six reading theme features in the report run locally.

For existing reports, you can use the “AI Curation” feature to have the model generate numbered summaries and Chinese titles. Curated drafts are not automatically sent or used to overwrite the original report. Search coverage depends on the index; results may come from titles, abstracts, or body text. PDF links listed are from separate sources and do not imply the plugin has downloaded full PDFs.

Advanced Configuration

The plugin supports some advanced settings via configuration files. In Harness configuration, you can add the following:

- id: fulltext
  config:
    defaultLimit: 10
    apiKeyEnv: FULLTEXT_API_KEY

You can also configure baseUrl, requestTimeoutMs, and reportDirectory. Keys are recommended to be stored in the credential service or environment variables rather than written directly in the configuration file. Report preview and download use a dedicated channel with host authentication and a sandboxed HTML view.

Files and Billing

Each search result generates report.html, report.csv, and report.json under $DSH_HOME/fulltext/reports/<report-id>/ (default: ~/.dsh/fulltext/reports/). The workspace lists the most recent 100 reports, and the sidebar allows you to delete a report and its three local files after confirmation.

Searching and optional metadata enrichment are billed by AI4Scholar; each report records the returned cost. If you only need searching without enrichment, you can disable the enrichment feature in the request. Opening, filtering, updating, and exporting saved reports do not trigger new search requests. Model usage for curation/translation is billed separately.

Use Cases and Cautions

Suitable for research or engineering scenarios where you need to extract evidence from original texts and generate archivable, shareable deliverables. The plugin runs with the permissions of the current DSH process; review the source code and license before installation.

Starting from version 0.2.0, code written by AI4Scholar in the plugin is licensed under AGPL-3.0-only. Commercial use is permitted under the AGPL terms; for other terms, contact AI4Scholar for a separate commercial license. Versions 0.1.4 and earlier remain under the MIT license.

Summary

dsh-fulltext equips DSH with the ability to search for evidence from original texts, generate structured reports, and deliver them offline in research scenarios. It does not replace PDF downloads; rather, it extracts relevant excerpts from the index, combined with local reports and AI curation, to improve information extraction and organization efficiency.

  • Plugin directory page: https://www.skillhub.cn/plugins/literaf/dsh-fulltext
  • GitHub: https://github.com/literaf/dsh-fulltext
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye