haimuhaimu/dsh-persona
haimuhaimu★ 0JavaScript最后同步: 2026-08-19
DeepSeek Harness plugin: give the agent a switchable, persistent persona (人设) — an-ruotong / yan-guan / lao-jie built in, plus user-defined personas.
README 摘要
dsh-persona 给 DeepSeek Harness 的 agent 装上一个 可切换、会记住的「人设」 ——让 DSH 从工具变成有性格、有记忆的伙伴。 Give your DeepSeek Harness agent a switchable, persistent persona — a voice, a stance, and cross-session memory, not just a tool. 特性 - 持久人设注入 :在每轮请求前把当前人设作为上下文注入,agent 全程以该身份回应(复用 DSH 官方 agent/pre-step 扩展点,与内置的 time-context / agent-instructions 同机制)。 - 跨会话角色记忆 :每个人设独立保存一套记忆( /.dsh/persona-memory.json ),重启后依然记得;激活该人设时自动注入最近记忆,也可用工具显式增删查。 - 运行时切换 : switch persona 工具一键换人设,选择持久化到磁盘,重启后依然生效。 - 内置 3 个精写人设 + 1 个「本尊」 ,也支持用配置追加自定义人设。 - 纯 JS、零构建,跟 dsh-image-gen 一样即装即用。 内置人设 id 名字 一句话 an-ruotong 安若童 清冷敏锐的视觉观察者,用照片和短句记录普通日常 yan-guan 严观 眼光毒辣、有品位的审美与文案裁判 lao-jie 老街 旧书店里的说书人,把琐事讲成有画面感的小故事 default 本尊 关闭人设,回到 DSH 默认助手 an-ruotong 来自 haimuhaimu/anruotong-character-system 的视觉角色设定。 安装 首次通过 pnpm 安装若被 prepare 脚本拦截,按提示把包键加入 profile 的 pnpm-workspace.yaml 的 allowBuilds 后重新 add。装好后重启 DSH Desktop(或重载 profile)。 使用 安装并启用后,agent 会默认以 an-ruotong 的身份回应。你可以直接对它说,也可以让它自己调用工具: - list personas —— 列出可用人设和当前人设。 - switch persona —— 切换人设,例如 switch persona("yan-guan") ,或 switch persona("default") 关闭人设。 - persona remember —— 把一件事记进 当前人设 的跨会话记忆,例如 persona remember("用户喜欢清晨的光线、讨厌网红风") 。 - persona recall —— 回想当前人设的记忆(可传关键词过滤)。 - persona forget —— …
在 GitHub 查看完整 README →分类
🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
★ 68,716
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 31,761
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 23,757