The philosophy of DeepSeek Harness (DSH) is “Everything is a plugin.” In Agent development, handling unstructured data (such as novel chapters, character cards, and world-building settings) typically requires manual file maintenance. NovelNovel aims to solve this pain point: it encapsulates the core logic of novel creation (project management, chapter management, character cards, world-building entries) into tools that directly operate on standard files within the workspace. This allows the Agent to focus on content generation rather than file management.
Features¶
The plugin provides a series of novel_* tools, covering the entire workflow from project initialization to content generation:
- novel_project: Work management. Supports creating, listing, viewing details, modifying settings (synopsis, worldview, writing requirements, overall plot summary, total word count goal), switching the current work, and deleting.
- novel_chapter: Chapter management. Supports listing (paginated, concise), reading, creating (with optional goals), appending (writing content), overwriting, renaming, tagging, writing chapter goals and summaries, sorting, searching, and deleting.
- novel_character: Character card management. Supports importing SillyTavern character cards (PNG/JSON, V1/V2/V3), viewing, toggling participation, re-exporting to PNG, and removing.
- novel_source: Source material management. Supports importing modern community cards or standalone worldbooks, automatically deconstructing and categorizing them by channel (settings, style, rules, status, archives, materials). Injectable materials are merged into the worldbook with source tracking, while status and materials are retained as read-only. Supports listing, viewing details, enabling/disabling, and browsing the worldbook.
- novel_lorebook: World-building entry maintenance. Supports managing entries with keyword matching (injected only when matched) and entries with no keywords or
constant(always injected). - novel_state: State layer management. Provides an MVU-compatible variable tree, supporting viewing, initialization via source material
[initvar], manualset/apply(JSON Patch), and viewing change logs. - Sidebar Panel: Provides an interface similar to a book reader, supporting direct modification of the original Markdown files on disk, drag-and-drop chapter sorting, and viewing word counts and size bars.
Installation and Activation¶
Currently, the plugin has not been published to npm and must be installed from a local tarball.
dsh plugin --profile web add ./dsh-novelnovel-0.1.0.tgz
Notes:
* Restart Required: The plugin registry is built only once during application startup or when the plugin layer changes. A restart is mandatory for the installation to take effect.
* Git Installation Not Supported: dsh plugin add github:owner/repo is not supported; build artifacts must be prepared first.
* Desktop Installation: For the desktop client, you must use the application’s built-in CLI wrapper (usually located at <installation_directory>\resources\runtime\cli\bin\dsh.cmd). The application must be completely closed before installation to update the profile manifest.
Typical Usage¶
Start a session in a profile where the plugin is installed. The Agent will use the corresponding tools based on system prompts. You can issue commands directly in natural language, such as “Write Chapter 3” or “List current works.”
Notes¶
- Development Environment Isolation: The desktop client side is fail-closed: if a package declares
dsh.clientbut the artifact is unreadable, the host will throw an error synchronously at startup, causing all client plugins (including first-party UIs) to fail to load. It is recommended to use a dedicated profile (e.g.,nn) for development iterations. - Desktop Workspace Root: The workspace root for the desktop client equals the directory selected for that session. Sessions must be started within the novel directory for data to be saved there.
- File Conflicts: The sidebar panel modifies the original Markdown files on disk directly. If another window or the model modifies the same chapter during editing, the save will explicitly fail with a prompt to reload.
- Legacy Dependencies: Do not leave old copies of
node_modules/@deepseek-ai/*in the working tree; if the resolution chain hits it, the plugin will load a second copy of the harness. - Panel Initialization: The panel displaying “Working directory not determined” is by design. The model must call a
novel_*tool once to establish context.