DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Fixed New Session Model — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
F

dsh-fixed-new-session-model

Fixed New Session Model

Set the default model and Agent preset mode for new sessions, with independent binding per workspace

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:chenyangcun/dsh-fixed-new-session-model#004cada0a9abd9fe6ec32fe401718cd82a83d612
READMECompatibilityVersions

Compatibility and provenance

Fixed New Session Model is published as dsh-fixed-new-session-model and currently resolves to version 0.2.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/3/2026

Versions

0.2.2stable
9/3/2026
0.2.1stable
8/30/2026

Related plugins

Loading related plugins…

Latest
0.2.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/3/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in agents-orchestration.

Headless@deepseek-ai/dsh-headlessThe dsh one-shot bundle: a direct core Agent/Session runner over dsh-base with no Host, HTTP, or browser layerExperimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocolSubagent Claude Code@deepseek-ai/dsh-subagent-claude-codeOne-shot Claude Code subagent provider over the official Agent SDK

README

dsh-fixed-new-session-model

中文 | English

为 DeepSeek Harness(DSH)固定新会话的默认 Agent 预设与模型,并支持按工作区设置独立规则。

打开 设置 → 默认模式与模型,即可在一个页面中完成全部配置。

全局默认设置

每个工作区都可以跟随全局默认值,也可以绑定自己的预设与模型。

工作区独立配置

安装

dsh plugin --profile web add dsh-fixed-new-session-model

安装完成后重启当前 DSH Web 进程,然后打开 设置 → 默认模式与模型。

从源码安装或参与开发时,可以在仓库目录执行:

dsh plugin --profile web add .

你会得到

  • 稳定的全局 Agent 预设——未配置工作区独立规则时,新会话始终使用指定预设
  • 稳定的全局模型——固定提供方、模型 ID 与推理等级,不受会话内临时切换模型影响
  • 工作区独立规则——可以为每个工作区指定专属的 Agent 预设与模型
  • 按字段继承——只覆盖预设并让模型跟随全局,或者同时配置两者
  • 自动应用——创建工作区会话或复用已有空白会话时自动应用匹配规则
  • 保护已有会话——已经产生对话内容的会话不会被后台规则强制切换
  • 原生设置界面——直接在 DSH 设置页编辑、查看和恢复规则

使用

  1. 打开 设置 → 默认模式与模型。
  2. 在“全局默认设置”中选择 Agent 预设、提供方、模型和可选的推理等级,然后保存。
  3. 某个项目需要不同配置时,切换到“工作区独立配置”。
  4. 选择目标工作区和预设;模型可以跟随全局,也可以绑定工作区专属模型。
  5. 新建会话或切换到该工作区的空白会话,插件会自动应用对应配置。

“恢复跟随全局”会删除当前工作区的独立规则,不会修改全局配置。

配置优先级

工作区独立配置
    ↓ 未显式配置的字段继续继承
插件全局默认配置
    ↓
DSH 原有默认配置

Agent 预设与模型分别继承。例如,可以让某个工作区始终使用 standard-codex,同时让模型继续跟随全局选择。

工作原理

  • Host 插件注册 workspace-defaults 设置结构,并阻止会话内临时模型选择覆盖已保存的全局默认值。
  • Web 客户端通过原生 settings.section 注册设置页面。
  • 创建工作区会话前,插件会把匹配到的 Agent 预设注入 session.create。
  • DSH 复用工作区空白会话时,插件会在打开会话前同步预设与模型。
  • 全部规则复用 DSH 原有设置系统;插件不会创建独立数据库或凭据文件。
设置命名空间保存内容
agent-presets全局 Agent 预设
agent-default-model全局提供方、模型与推理等级
workspace-defaults各工作区的独立规则

兼容性

本插件支持标准版 DeepSeek Harness(DSH),当前已在以下环境验证:

  • @deepseek-ai/dsh 0.1.1-rc.2 与 0.1.2-rc.1
  • 标准 Web Profile
  • npm 安装与本地 link: bundle

插件通过 DSH 的 Settings、Remote 和模型选择服务工作。升级 DSH 后,请重新在 Web Profile 中执行 pnpm install,并确认设置项仍能正常加载。

安全

  • 不读取或存储模型 API Key
  • 不向外部服务发送网络请求
  • 只使用 DSH 自身的设置、会话、工作区、预设和模型选择接口

开发验证

node --check index.js
node --check lib/client.js
npm test
npm pack --dry-run

许可证

MIT

欢迎通过 Issues 反馈问题或建议。