dsh-agentnoodle
可扩展的 AI 群像聊天游戏框架(DeepSeek Harness 插件):输入一个行动,多个 NPC 各自回应,带头像插图;世界、地点、NPC 与功能扩展都可在对话里让 agent 直接添加修改,无需写代码。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bigharm/dsh-agentnoodle说明文档
阅读完整 README ↗数据与配置
- 默认数据目录:
~/.dsh/agentnoodle(首次启动自动从包内seed/播种) - 覆盖方式:在 profile 的
cordis.patch.yml里给该行配置dataDir,或在 Settings → Plugins → 插件配置中修改 - 提示词:
/prompts/(environment.txt游戏叙事、generate_locations.txt生成地点、generate_npcs.txt生成 NPC),改完即时生效 - AI 参数:
/.env(AI_TEMPERATURE/AI_MAX_TOKENS/HISTORY_TAIL)
世界数据格式
世界就是普通文件(/worlds//),任何能写这些文件的入口都能建世界:
/
├── worldview.txt # 世界观设定
├── locations.json # { regions: [{id,name,description,icon}], locations: [{id,name,parent,description,icon}] }
├── npcs.json # { npcs: [{id,name,gender,profile,location_id,avatar,active,dead}] }
├── avatars/ # NPC 头像 PNG(可选)
└── sessions/characters/ # 角色存档(运行时生成)