dsh-plugin-background-tasks
Antigravity 式 run_command:短命令在可配置窗口(默认 10 秒)内同步返回结果,长命令自动晋升为 ctx.jobs 后台任务并推送完成通知——命令经 ctx.shell 执行,受会话沙箱与审批管线约束。
Antigravity-style run_command for DSH: short commands return inline within a configurable wait window (default 10s) while longer ones auto-promote into ctx.jobs for later collection and completion notices — executed via ctx.shell under the session sandbox and approval pipeline.
怎么安装
dsh plugin add github:yaopushen/dsh-plugin-background-tasks 简介
dsh-plugin-background-tasks 让长命令不再卡死对话:短命令即时返回结果,长命令自动转入后台,跑完主动汇报——复刻 Google Antigravity 的 run_command 工作流体验。 --- 简介 对话式开发里最影响手感的事,莫过于一条构建、训练或下载命令把整个会话挂住。本插件把 Antigravity 的「超时竞争」工作流带到 DeepSeek Harness: 1. **长命令异步化** — 命令先同步等待 10 秒:跑完直接给结果;没跑完就整体转入后台,对话立即释放,你继续干别的,互不打断。 2. **完成主动汇报** — 后台命令结束时自动推送结果摘要(退出码 + 输出尾部),零轮询、不用催。 3. **状态随时可查可控** — 每个后台任务有 ID;列表、读输出、终止都是现成工具,与宿主原生后台任务共用同一套界面。 4. **安全不越界** — 命令走宿主统一执行通道:会话沙箱策略与审批管线照常生效;万一被策略拦下,会明确告诉你如何合规重试。 5. **开箱即用** — 自带「后台任务模式」预设:新建会话选它即得单入口体验;Windows / Linux / macOS 全平台。 参数命名对齐 Antigravity 官方的 run_command 合约(CommandLine / Cwd / WaitMsBeforeAsync),模型…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 1
- 月下载
- –
- 最近更新
- 2026-09-20
- 创建于
- 2026-08-23
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- background-jobs, deepseek-harness, dsh-plugin
同类推荐
compound-engineering-plugin
EveryInc/compound-engineering-plugin
适用于 Claude Code、Codex、Cursor 等的官方 Compound Engineering 插件
gstack
garrytan/gstack
使用Garry Tan的精确Claude Code设置:23个固执己见的工具,充当CEO、设计师、工程经理、发布经理、文档工程师和QA。
dsh-browser
omdsh-dev/dsh-browser
Chrome 侧边栏扩展程序,可让 DeepSeek Harness 直接操控浏览器,无需视觉能力。
n8n-mcp
czlonkowski/n8n-mcp
一个用于Claude Desktop / Claude Code / Windsurf / Cursor的MCP,为你构建n8n工作流。