Back to home@Ryu6Zero

dsh-character-studio

🎭 Native immersive RP & companion studio for DeepSeek Harness. Character cards + Hindsight graph memory, per-character memory banks, zero host patching.

Stars
0
Language
TypeScript
Created
Aug 29, 2026
Updated
Aug 29, 2026
GitHub repo

Introduction

dsh-character-studio

npm License: MIT

DeepSeek Harness Native Immersive Roleplay Studio & Companion Runtime. Unifies decoupled character card management with the Hindsight graph memory engine, making DSH a lightweight, elegant, and persistent RP host.

English | 简体中文


🌟 Key Advantages & Differences

DimensionSillyTavern (Tavern)Existing DSH RP Pluginsdsh-character-studio (This Plugin)
ArchitectureHeavy standalone frontend appHost patching or pure static promptNative lightweight Cordis plugin, non-invasive
Long-term MemorySliding window / naive vector searchSingle file append or no graph memoryPowered by Hindsight entity graph & temporal reasoning
Memory IsolationManual database switches / prone to leaksGlobal shared memory across charactersDedicated Bank isolation (rp_<character>)
Thinking DepthComplex regex / external prompt injectionNo <think> chain-of-thought constraintOfficial DeepSeek <think> first-person monologue rules
Card CompatibilitySpecialized frontend format / pluginsLimited formatsNative 3-section Markdown & SillyTavern V2 JSON

🌟 Key Features

  • 🎭 Multi-Format Character Cards:
    • Native 3-section Markdown cards (## 【角色】, ## 【关系】, ## 【对话】);
    • SillyTavern V2 JSON card compatibility;
    • Zero-code hot switching.
  • 🧠 Hindsight Role-Dedicated Memory Bank:
    • Automatically isolates each character into its own bank (e.g. rp_alice), preventing cross-character memory leaks;
    • Captures lore, commitments, and plot points with knowledge graph relations;
    • Built-in 60s in-memory TTL recall cache with write-invalidation.
  • 🎬 DeepSeek <think> Immersive Monologue:
    • Injects first-person psychological analysis within <think> tags;
    • Enforces standard dialogue/action formatting and natural humanized conversational cadence.
  • 🕹️ Slash Commands & OOC Directives:
    • /rp list: Show all available character cards;
    • /rp use <name>: Switch the active persona immediately;
    • /rp status: Check bank stats and Hindsight connection health;
    • /ooc <directive>: Out-Of-Character director controls.

📦 Installation

dsh plugin --profile web add dsh-character-studio
# or headless mode
dsh plugin --profile headless add dsh-character-studio

⚙️ Configuration

OptionDefaultDescription
cardsPath~/.dsh/cardsRoot directory for character cards (.md / .json)
defaultCard""Default active character card (empty for none)
hindsightEndpointhttp://localhost:8888Hindsight REST API endpoint
hindsightToken""Hindsight bearer token (optional)
bankPrefixrp_Memory bank prefix for roleplay
recallCacheTtlMs60000In-memory recall cache TTL in ms (0 to disable)
enableDeepSeekImmersivePrompttrueEnable <think> first-person monologue rules
enableTavernFormattingtrueEnable roleplay formatting rules

📄 License

MIT License