← 返回列表
未验证
DSH 插件:/gamemode 1 = 一键切换到 DeepSeek Harness…
尚未跑自动兼容性验证,可查看页面内的依赖与入口分析。 · 最近上游提交 2026/8/20 · 已提供中文文档
dsh 插件:/gamemode 1 = 一键切换到内置创造模式(cordis)预设。dsh plugin: /gamemode 1 = switch to the built-in Creative Mode (cordis) agent preset.
综合分
28.6
GitHub 分
28.6
用户评分
—
★ Stars
2
周下载量
—
安装插件(需先安装 dsh CLI 引擎:npm install -g @deepseek-ai/dsh)
dsh plugin --profile web add XCNXNXNX/dsh-gamemode该插件未发布到 npm,走 GitHub 源安装(pnpm 若拦截 prepare 脚本,按其提示在 pnpm-workspace.yaml 的 allowBuilds 中放行后重跑)
数据截至 2026/9/19(元数据每日更新 · 实装验证按队列轮转,单条结论的验证时间见上方)
依赖的 DSH / Cordis 模块
@deepseek-ai/cordis@deepseek-ai/dsh-agent-presets@deepseek-ai/dsh-commands用户评分
还没有人投票,来当第一个
订阅周报,不错过优质插件更新
每周一封 · 高评分插件 + 新用户活动
README
dsh-gamemode
DSH 插件:/gamemode 1 = 一键切换到 DeepSeek Harness 内置“创造模式”(cordis)Agent 预设。
DSH 插件:/gamemode 1 = 一键切换到 DeepSeek Harness 内置“创造模式”(cordis)Agent 预设。
gamemode 展示
English
一个极简的 DeepSeek Harness 斜杠命令插件,将 Minecraft 梗命令 /gamemode 1 变成真正切换到内置 创造模式 Agent 预设的命令。
在 DeepSeek Harness 中,创造模式就是内置的 cordis 预设(其 preset.yml 声明 name: 创造模式)。本插件执行与 Web UI 预设选择器完全相同的操作:
1. ctx.agentPresets.recompose(agent.ctx, presetId) — 将当前 live agent 重新挂载到目标预设的 standing mount。
2. agent.session.append('agent-preset/selected', { agentPreset }) — 记录持久选择,使 resume/fork 时能重建同一组合。
一句话安装
dsh plugin --profile web add dsh-gamemode
其他安装来源:
直接从 GitHub 安装(已提交预构建 lib/,无需构建白名单)
dsh plugin --profile web add github:XCNXNXNX/dsh-gamemode
或使用预构建的 Release tarball
dsh plugin --profile web add https://github.com/XCNXNXNX/dsh-gamemode/releases/download/v0.0.3/dsh-gamemode-0.0.3.tgz
该包声明了 dsh.bundle;cordis.patch.yml 会自动插入插件行。如果你的 profile 使用其他名称,请将 web 替换为该名称。
用法
| 命令 | 效果 |
| --- | --- |
| /gamemode 1(或 /gamemode creative) | 切换到创造模式(cordis 预设) |
| /gamemode 0(或 /gamemode survival) | 切换到标准模式(standard 预设) |
| /gamemode | 显示当前预设 |
限制(与官方 UI 相同)
只有在会话仍为空白时——即在写入任何 turn/start 之前——才能切换 Agent 预设。一旦对话开始,预设就会被锁定,因为历史记录是在旧组合下产生的。请在新会话中、发送第一条消息之前使用 /gamemode 1。
构建
在 DeepSeek Harness 检出目录中:
bash scripts/build.sh
使用 DSH 插件工具(例如 dev_inject_plugin)安装/注入生成的包。
许可证
BSD-3-Clause
中文
一个极简的 DeepSeek Harness 斜杠命令插件:把 Minecraft 梗命令 /gamemode 1 变成真正切换内置 “创造模式” Agent 预设的命令。
DeepSeek Harness 里的“创造模式”就是内置 cordis 预设(其 preset.yml 声明 name: 创造模式)。本插件执行与 Web UI 预设选择器完全相同的官方路径:
1. ctx.agentPresets.recompose(agent.ctx, presetId) — 把当前 live agent 重新挂到目标预设的 standing mount;
2. agent.session.append('agent-preset/selected', { agentPreset }) — 落盘持久选择,resume/fork 时能重建同一组合。
一句话安装
dsh plugin --profile web add dsh-gamemode
其他安装来源:
直接从 GitHub 安装(已提交预构建 lib/,无需 pnpm 构建授权)
dsh plugin --profile web add github:XCNXNXNX/dsh-gamemode
或使用预构建的 Release tarball
dsh plugin --profile web add https://github.com/XCNXNXNX/dsh-gamemode/releases/download/v0.0.3/dsh-gamemode-0.0.3.tgz
包已声明 dsh.bundle,cordis.patch.yml 会自动插入插件行。如果你的 profile 名不是 web,把命令里的 web 换成自己的 profile 名。
用法
| 命令 | 作用 |
| --- | --- |
| /gamemode 1(或 /gamemode creative) | 切换到创造模式(cordis 预设) |
| /gamemode 0(或 /gamemode survival) | 切换到标准模式(standard 预设) |
| /gamemode | 查看当前会话预设 |
限制(与官方界面一致)
Agent 预设只能在会话尚未开始(日志中还没有 turn/start)时切换。对话一旦开始,预设即锁定——因为历史是在旧组合下产生的。请在新会话发送第一条消息前使用 /gamemode 1。
构建
在有 DeepSeek Harness checkout 的环境:
bash scripts/build.sh
用 DSH 插件工具链安装/注入生成的包,例如 dev_inject_plugin。
Good同作者(XCNXNXNX)的其他插件
扫码进群