vlln/dsh-loop 预览 preview

vlln/dsh-loop

DSH插件:定时循环(/loop命令 + loop工具 + 活动状态条)。官方bundle插件,dsh plugin --profile web add安装

Project Overview项目介绍

dsh-loop is a native bundle plugin built exclusively for DeepSeek Harness (DSH) that adds scheduled loop functionality to DSH sessions. It aligns with the /loop semantics popularized by Claude Code, and supports running multiple concurrent loops within a single active DSH session. The plugin ships with three core components: user-facing slash commands, a loop tool that the LLM can call to self-adjust running loops, and a UI status bar that displays active loops above the chat input box. To install, users can run a one-line command to pull the plugin directly from GitHub, npm, or a cloned local directory, since build artifacts are already committed.

This plugin is designed for developers who need recurring automated tasks within their DSH development workflow, and common use cases include polling for pull request updates, babysitting long-running PR processes, and repeating build-fix-test cycles. A typical user workflow starts with running /loop followed by an interval (like 5m, 30s) and a prompt to start the new scheduled loop. For example, a user can run /loop 5m check PRs on the deploy branch to get the prompt delivered to the agent every five minutes. Users can also list all active loops and stop individual or all running loops directly via additional /loop subcommands.

dsh-loop is released under the permissive MIT open source license, and requires a restart of the DSH web client after initial installation to load the bundle. After the first restart, users can enable or disable the plugin directly from the DSH settings plugins panel without additional restarts. The plugin adds a dedicated settings card in DSH’s plugin settings area, where users can toggle whether the loop tool is injected into the LLM’s available tools, and changes take effect live without restarting sessions. All active loop data is stored in the running DSH process, so loops are not persisted across DSH restarts, matching Claude Code’s original behavior.

dsh-loop 是专为 DeepSeek Harness(DSH)开发的原生 bundle 插件,提供定时循环执行功能,语义对齐 Claude Code 的 /loop 命令。该插件支持在单个 DSH 会话中同时运行多个循环,提供用户侧的 /loop 命令、模型可调用的 loop 工具和聊天页输入框上方的活跃状态状态栏。用户可通过一行命令从 GitHub、npm 或本地源码完成安装。

该插件适合需要轮询检查、PR 持续维护、自动化构建修复测试循环的开发者使用。典型工作流为用户通过 /loop 命令指定间隔和提示词启动循环,比如每 5 分钟检查部署分支的 PR 状态,模型也可以通过 loop 工具自行启动、停止或查询循环状态。多个运行中的循环会折叠显示在状态栏,点击即可展开查看详情。

该插件采用 MIT 许可证开源,安装后需要重启 DSH web 端才能生效,后续可在设置面板直接启用或禁用,无需重启。插件在设置页面提供了专属设置项,可控制是否向模型注入 loop 工具,修改设置后即时生效,不需要重启会话。循环信息仅保存在当前进程中,进程退出后就会丢失,不支持跨重启持久化。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add "github:vlln/dsh-loop#main"

把 vlln/dsh-loop 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

loop

中文 | English

Scheduled loop plugin: `/loop` command + `loop` tool (self-adjusting by the model) + active status bar on the chat page, with support for multiple concurrent loops

license dshfind dsh.so security

Delivers a prompt to the current agent at a fixed interval — ideal for polling, PR babysitting, and build-fix-test cycles. Aligned with Claude Code's /loop semantics, multiple loops can run concurrently in a single session. Delivered as an official bundle plugin (dsh.bundle + dshClient channel), 0 patch.

Preview

loop status bar (real run screenshot: multiple loops collapse into a count bar, expanding lists them one by one)

Features

Tool (registered via defineTool, the model can self-adjust on every turn):

Tool Description
loop start (start a new loop) / stop (stop a specific one or all) / status / list (list loops in the current session)

Commands (user side):

Command Description
/loop [interval] <prompt> Start a new loop (interval 5m/30s/1h/2d or a bare number = minutes; bare /loop uses the built-in maintenance prompt)
/loop list List all loops in the current session (with ids)
/loop stop <id> / /loop stop Stop a specific loop / stop all

/loop replies (the command-palette description, list / usage / stop output) follow the UI language: the client half relays its active locale to the plugin, so they render in Chinese or English to match the interface. Headless runs with no client in sight keep English.

UI (dock slot above the input box on the chat page):

Feature Description
Active status bar Single loop: ● ⟳ looping · <prompt> · 5m · next in 23s; multiple loops collapse into a count bar "N loops running · expand", click to expand the list

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev owndsh 下一个 Next dsh-code-review →