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.

Limit Timeout — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
L

dsh-limit-timeout

Limit Timeout

Cap how long one DSH tool call may wait: a global default wait limit in Settings, plus a per-session raise the model can request from the user.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:azazo1/dsh-limit-timeout#fc2fcb7974e60233b97a18c46ba610c0712ed798
READMECompatibilityVersions

Compatibility and provenance

Limit Timeout is published as dsh-limit-timeout and currently resolves to version 0.1.0. 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/14/2026

Versions

0.1.0stable
9/14/2026

Related plugins

Loading related plugins…

Latest
0.1.0
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/14/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 developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocolPlus@sparkelf/dsh-plusDeepSeek Harness Plus official-base Web distribution profile and ranged compatibility patchset

README

dsh-limit-timeout

限制 DSH agent 单次工具调用可以让调用方等待多久: 全局默认上限放在设置界面, 模型需要更长等待时可以在会话中向你申请提升.

它解决什么

bash 的 timeoutMs, job_output 的 timeout_ms 这类参数由模型自己填写, 部署 侧原本只有一个很宽的工具配置兜底. 本插件在调用真正执行前检查这些参数:

  • 超过本会话上限的调用被拒绝, 拒绝理由写清当前上限, 并给出三条替代做法: 降低等待 时间, 改用后台执行 (run_in_background: true + job_output), 或者调用 request_wait_extension 向你申请提升.
  • 申请走 DSH 原生审批通道, 由你决定是否批准; 批准后只对当前进程内的这个会话生效.

安装

dsh plugin --profile web add azazo1/dsh-limit-timeout

装好后重启 dsh web, 让 profile 重新扫描 Client 元数据.

设置

设置界面有两处入口:

  • Settings > General 的 "等待上限" 一行: 全局默认允许等待上限, 也是日常唯一需要改的值.
  • Settings > 等待上限 独立页: 全部字段.

两处都是草稿式编辑: 改动不会立即生效, 有未保存改动时才出现 "保存" 与 "放弃更改" 按钮; 保存是一次原子写入, 放弃更改立即还原成当前生效值.

两个时长字段接受 120000, 500ms, 90s, 2m, 1h 这类写法, 省略单位按毫秒, 允许小数; 未编辑, 保存后与放弃更改后都会还原成合适的单位写法 (2m, 30m, 90s, 1500ms). 默认上限不能高于硬天花板, 否则保存被拒绝.

字段默认值说明
全局默认等待上限 (defaultLimitMs)120000单次调用可声明的最大等待, 覆盖 timeoutMs 与 timeout_ms
硬天花板 (hardLimitMs)1800000即使你批准了提升, 实际等待也不会超过它; 调低它会立刻收回已批准的提升
允许模型申请提升 (allowEscalation)开关闭后模型看不到申请途径, 超限调用只被拒绝
要求显式声明等待时长 (requireExplicitJobWaitMs)关开启后 job_output 的 wait: true 必须同时给出 timeout_ms
屏蔽重复调用提醒 (suppressRepeatToolReminders)关开启后 repeat-tool-reminder 注入的重复调用提醒不再进入模型请求

运行时行为

  • 拦截发生在 tools/pre-execute: 放行时继续交给下游策略 (权限, 沙箱) 判断, 超限时 直接短路成错误结果, 调用不会真正执行.
  • 工具参数在进入策略管线前已经记录并呈现, 所以插件只能拒绝, 不能改写参数; 这也是 不做静默钳制的原因.
  • 提升按会话对象记录在进程内存里: 新会话, 会话恢复与进程重启都回到全局默认值.
  • 每次拒绝都会以 info 级别记入 Host 日志, 包含工具名, 调用 id, 当前上限与是否已提升.
  • "屏蔽重复调用提醒" 在 agent/pre-step 过滤 repeat-tool-reminder 的注入消息: 只改 变模型看到的内容, 会话日志与历史回放不受影响, 被过滤的条数记入 debug 日志.

边界

  • 只覆盖模型可控的等待参数 (timeoutMs, timeout_ms). 工具自身的部署超时 (例如 web_fetch 的 fetchTimeoutMs) 不受影响.
  • job_output 只写 wait: true 而不写 timeout_ms 时, 等待时长由 dsh-tool-jobs 自己的 waitTimeoutMs 决定, 默认配置下不受本插件约束; 需要严格限制就打开 "要求显式声明等待时长".
  • 提升不写入会话日志, 因此不可回放, 也不能跨进程保留.

开发

just install
just typecheck
just build
just test
just verify

src/ 是 TypeScript 源码, lib/ 是构建产物 (随包提交). Host 半区注册设置, 拦截器, 申请工具与运行时提示; Client 半区注册设置界面两个入口.