dsh-agentic-roleplay
其他 活跃维护

dsh-agentic-roleplay

Firefox2100/dsh-agentic-roleplay

一套轻量级角色扮演配置包,内置多角色人格脚本与状态管理,可驱动多个智能体按设定情境轮番互动。支持自定义世界观与对话规则,便于在仿真对话中检验模型表现。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
GPL-3.0
开源协议
11.5 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:Firefox2100/dsh-agentic-roleplay
git clone https://github.com/Firefox2100/dsh-agentic-roleplay.git
git clone git@github.com:Firefox2100/dsh-agentic-roleplay.git
README.md main

DSH Agentic Roleplay

Persistent, agent-driven roleplay for DeepSeek Harness. Create a world, choose who to play, and enter an evolving story whose characters can make decisions of their own.

Instead of treating roleplay as one long prompt, the bundle separates the game master, character decisions, record keeping, world authoring, and media work. The story keeps structured state for what happened, what each character perceived and remembers, where people and things are, how relationships change, and which possibilities remain open.

What makes it different

  • Characters have their own point of view. They act from their goals, relationships, knowledge, memories, and current situation—not from everything stored in the world.
  • The world changes without becoming a script. Plots can provide direction and pressure, while player choices and autonomous character actions determine what actually happens.
  • Stories remain editable and durable. Worlds are filesystem-first, sessions use SQLite, and branching or taking back does not require rebuilding the setting.
  • Your library can follow you between devices. Optional rclone-based sync moves worlds, stories, prompts and other shared content while detecting conflicts instead of silently overwriting either copy.
  • Creation happens inside DSH. Build worlds in the editor, ask an authoring agent for help with approval by default, import and update character cards with recoverable draft repair, and generate portraits or scene illustrations when providers are available.
  • Media is optional. Text play works without image, speech, embedding, or reranking services; add them when you want portraits, voiced scenes, voice input, or richer recall.

The bundle includes a complete roleplay interface, a bounded game-master loop, autonomous character and faction activity, story-time memory, relationships and knowledge, locations and items, plots, triggers and world-defined commands, reusable avatars, world authoring, speech, and image workflows.

This project is independently maintained by Firefox2100. It is not an official DeepSeek Harness project.

Documentation

Packages

Package Role
@dsh-agentic-roleplay/all Installable bundle containing the complete experience.
@dsh-agentic-roleplay/core UI, orchestration, authoring, media, and filesystem integration.
@dsh-agentic-roleplay/state Standalone DSH service for session databases, repositories, recall, and model-facing record tools.
dsh-roleplay-model Private canonical model package, bundled into the published plugins.

Installation

Install the complete bundle into a DSH profile:

dsh plugin --profile <profile> add @dsh-agentic-roleplay/all

Restart the profile, then configure the storage root under Settings → Role Play. AI features are supplied by compatible provider plugins; see AI services.

New users can add the included Blackwater Observatory sample world from the Worlds page, inspect how it is built, and begin a session immediately after configuring a language model.

Development

pnpm install
pnpm run typecheck
pnpm run test
pnpm run build

Requires Node.js 22 or later and pnpm. See the maintainer guide before changing persisted data, the agent loop, prompts, or DSH integration.

License

GPL-3.0-only