DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Loop — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
L

dsh-loop

Loop

DeepSeek Harness 插件:用于定时重复运行代理循环的 /loop 斜杠命令

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:XiaoWind/dsh-loop#6cd4bc8f7ba3e3d4d8be8b5332289c1039397db3
README兼容性版本

兼容性与来源证明

Loop 以 dsh-loop 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/8/21

版本

0.1.0stable
2026/8/21
最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/8/28
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-loop

English | 中文

A DeepSeek Harness (DSH) plugin that adds a human-facing /loop slash command for timed, recurring agent loops.

/loop 30m fires one immediate tick, then re-prompts the agent once per 30-minute interval (measured from the moment the agent returns to idle after the previous tick) until you stop it with /loop stop.

Install

# from GitHub (works immediately — no npm publish required)
dsh plugin --profile web add git+https://github.com/XiaoWind/dsh-loop.git

# or from npm, once published
dsh plugin --profile web add dsh-loop

The dsh plugin command forwards to pnpm inside the web profile directory, then reconciles the profile's dsh.profile.bundles layer list. Because this package declares dsh.bundle.patch, it joins the layer stack automatically. Restart the Web app after installing.

The plugin injects the commands service, so it activates only in profiles that compose a command adapter — the shipped web profile does.

Usage

CommandResult
/loop 30mStart a loop: tick now, then once every 30 minutes. Keeps any current objective.
/loop 30m fix the testsStart a 30-minute loop toward an objective.
/loop fix the testsStart a loop toward an objective at the default interval.
/loop 1h30mCombined durations are supported.
/loop resumeResume the loop saved before a restart.
/loop or /loop statusShow the running loop.
/loop stopStop the loop.
/loop helpShow help.

Intervals are a whitespace-free sequence of <number><unit> tokens where unit is one of ms, s, m, h, d — for example 90s, 30m, 1h30m, 2h.

A leading duration token is the interval and the remainder is the objective; with no leading duration, the whole input is the objective and the default interval applies.

Semantics

  • First tick is immediate. Each later tick fires interval after the agent returns to idle, so a running turn is never interrupted.
  • Saved across restarts. The loop config is persisted to $DSH_HOME/dsh-loop/<sessionId>.json. When you reopen the session after a restart, the plugin asks whether to continue the saved loop (Continue / Stop); /loop resume restarts it manually when no prompt is available. /loop stop discards the saved loop.
  • Manual stop. The loop runs until you run /loop stop, the agent is disposed, or the plugin is unloaded. There is no automatic completion detection.

Configuration

Set config.defaultIntervalMs (milliseconds) to change the interval used by a bare /loop <objective> with no leading duration token. The default is 600000 (10 minutes).

# your profile's cordis.patch.yml
- id: loop
  config:
    defaultIntervalMs: 900000

Development

# syntax check
node --check lib/index.js

# duration-parser unit test
node test/duration.test.mjs

The plugin is a single-file ESM Cordis function plugin (lib/index.js) with no build step. It exports apply, inject, and name, and the bundle layer cordis.patch.yml inserts it into the profile composition.

License

MIT