lmst2/dsh-rename
lmst2★ 2TypeScript最后同步: 2026-08-14
DeepSeek Harness slash command: /rename with a name, or let the model summarize the conversation and pick one
README 摘要
dsh-rename DeepSeek Harness 的会话重命名插件:给当前对话补上一条 /rename 斜杠命令 。带上名字直接改;不带名字时,让模型读一遍当前对话,自己总结一个标题并重命名。 为什么只做命令,不做自动命名 DSH 本身已经内置了自动命名:基础组合层挂载了 session-title-first-prompt-llm ,在首条 prompt 进入后由 ctx.sessionTitle 自动生成会话标题。这个能力不需要重复实现,本插件只补 DSH 缺的那一块—— 你随时一键让它重新想个名字 。 安装 前置要求 :已安装 DeepSeek Harness( dsh 命令可用);Node.js ^22.19 或 =24 ;pnpm 11。 从 GitHub 安装: dsh plugin 会把插件装进 web profile,并按包内 dsh.bundle 声明把它加入组合层。重启 DSH 服务后, /rename 会出现在斜杠命令菜单里。 重启生效 :安装完成后,重启正在运行的 DeepSeek Harness Web 服务并刷新页面。 安装完可以用 dsh plugin --profile web list 确认插件在列表里。 其他安装方式 本地源码开发 (改完 pnpm build 即时生效,host 侧改动需重启服务): 指定 GitHub 分支 : 使用 直接在当前会话输入: 模型会读取当前会话的对话记录(直接用户消息 + 助手回复),发一次 purpose: session-title 的辅助模型请求,生成一个简洁标题并重命名当前会话。 带上名字则直接重命名,不走模型: 两种方式都通过 DSH 内置的 ctx.sessionTitle.rename 落盘为 session/title 事件( source: user ),因此: - 标题会实时反映到侧边栏/会话列表; - 该标题会被 pin 住,后续内置自动命名不会覆盖它; - 本插件不写任何自定义 session 事件,卸载插件后历史会话仍能被任意 DSH 构建正常读取。 配置 插件行在 cordis.patch.yml 中不传配置即使用默认值。需要覆盖时,在 profile 的 cordis.patch.yml 里定位 dsh-rename 行: 字段 默认值 说明 targetWords 6 非 CJK 语言标题的目标单词数 targetCjkCharacters 12 中/日/韩标题的目标字符数 maxInputBytes 32768 喂给标题模型的对话摘要最大 UTF-8 字节数 maxOutputTokens 64 辅助生成的最大输出 token 数 maxTitleBytes 80 接受标题的最大 UTF-8 字节数 timeoutMs 60000 辅助请求的端到端超…
在 GitHub 查看完整 README →分类
🎨 The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode / Hermes & 20+ CLIs via BYOK.
★ 86,705
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,317
tt-a1i/archifyAgent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
★ 12,834