Preface¶
The core philosophy of DeepSeek Harness (DSH) is “everything is a plugin”. When building agents, an Agent often needs access to authoritative domain-specific texts, such as game setting collections, official archives, or timelines. Existing general-purpose knowledge bases cannot provide exact original line numbers and source markers. The prts-terrarchive plugin is designed to address this pain point. It packages the official original texts, archives, and community-reviewed materials of Arknights and Arknights: Endfield into a local resource pack, providing Agents with line-number-based retrieval and citation tools.
What Is This¶
This plugin is a knowledge plugin provided by PRTS.chat for DeepSeek Harness (DSH). It packs the official game texts and archives of Arknights and Arknights: Endfield into a local resource pack, providing Agents with retrieval and citation tools based on original line numbers. It can also connect on demand to PRTS.chat cloud hybrid search and DSH native web tools.
- Maintainer: HTian-qwq
- Category: Memory
- License: SEE LICENSE IN THIRD_PARTY_NOTICES.md
- GitHub: HTian-qwq/prts-terrarchive
Core Features¶
The plugin provides a complete set of material retrieval and reading capabilities, mainly including the following:
- Local Search: Provides structured local corpus search, supporting filters such as game type, material form, operator, and events.
- Original Text Reading: Supports directly locating original texts by stage code, cipher log name, or operator profile. The citation format is
Chapter Name, Line N. - Event Timeline: Retrieves a local projection of the PRTS Wiki “Terra Chronology”, supporting automatic entity alias expansion and source-marker reverse lookup.
- Cloud Hybrid Search: Provides PRTS.chat cloud hybrid search, supporting parallel queries for the graphs, archives, and original texts of both games, and maps the results back to local entries for verification.
- Dual-Game Materials: Uses a unified tool to retrieve the original texts, archives, proofread Wiki entries, and entity encyclopedias of Arknights and Arknights: Endfield.
- Rhine Lab Archive: Provides a 3D interface skin with interactive tools such as the Investigation Board and Evidence Box, supporting clue linking and report generation.
- Free Combination: Supports adding PRTS tools to any custom mode.
Installation and Enabling¶
Before installation, ensure the DSH runtime version is >= 0.1.2-alpha.2; the current adaptation target is 0.2.0-rc.1.
Local Web Installation¶
Use the official CLI command to install the specified version:
dsh plugin --profile web add prts-terrarchive@0.2.2
Official Electron Desktop Installation¶
- Open Plugins on the left side and click + Add Plugin in the upper-right corner.
- In the Package Name or URL input box, enter
prts-terrarchive(orprts-terrarchive@0.2.2for a fixed version). - In Install Source, select npm Official Registry or Mainland China Mirror, and click Install.
- After installation is complete, click Enable Now.
Upgrade Notes¶
The current desktop installation interface does not provide automatic updates. To upgrade the plugin, you must manually uninstall and reinstall it. For Web installation, directly overwrite the old version.
Typical Usage¶
After installation and enabling, the plugin registers PRTS Mode, and Agents can call the following tools:
corpus_search: Used for local corpus retrieval; supports searching both games with the same parameter.corpus_read: Directly locates original texts by stage code or operator profile; supports continuous reading.timeline_search: Retrieves the Terra Chronology; used for querying event timelines or performing source reverse lookup.cloud_search: Queries the graphs, archives, etc. of both games in parallel, and maps the results back to local chapters.corpus_i18n: Queries the official multilingual original texts of Arknights: Endfield.
Using the Rhine Lab Archive¶
In Settings → Plugins → PRTS Corpus, select the Rhine Lab Archive skin and enable it in the session.
* Investigation Board: The Agent continuously adds clues and relationships; supports dragging, connecting, and manual editing.
* Evidence Box: Temporarily stores materials pending verification; after being added, materials are not automatically marked as read.
* Archive Shelf: Collects delivered or favorited materials and retains their citation status.
Notes and Limitations¶
- Runtime Environment: The DSH runtime must be >= 0.1.2-alpha.2; current adaptation is 0.2.0-rc.1.
- Cloud Quota: Cloud hybrid search provides 1,000 anonymous calls per day.
- Install Source Limitations: The npm install source can use proxy mirrors, but direct links to GitHub repositories or archive packages cannot be proxied through the install source option; a complete address must be entered directly.
- Permissions: The plugin runs with the permissions of the current DSH process. It is recommended to check the source code and license statements before installation (see THIRD_PARTY_NOTICES.md).
- Material Download: The plugin package does not include the corpus; it must be downloaded separately in Settings → Plugins → PRTS Corpus.
Summary¶
prts-terrarchive provides professional-grade material retrieval capabilities for ACG games in DSH. By combining localized deployment with cloud hybrid search, it meets the need for high-precision original text citations by Agents. For developers and researchers who need to handle data related to Arknights or Arknights: Endfield, this plugin provides a one-stop solution from retrieval to reading.