YiGeSama/dsh-preset-run
YiGeSama★ 0JavaScript最后同步: 2026-08-16
dsh-preset-run: DeepSeek Harness plugin — preset_run tool runs one-shot tasks under any agent preset (router-spec/router-standard/minimal) headlessly. Install with dsh plugin add.
README 摘要
dsh-preset-run English 中文 DeepSeek Harness 插件 :把「web 会话 + Agent 预设」变成可编程接口。 注册一个 host-plane 工具 preset run(preset, task) —— 用指定的 agent 预设 (如 router-spec / router-standard / standard / minimal / cordis )创建 一个全新的独立会话,执行 task ,返回最终回答文本。等价于无头模拟 web UI 的 「新建会话 → 选预设 → 发消息」流程。 环境要求 - 已安装 DeepSeek Harness = 0.1.0-rc.6 ( dsh CLI,web 或 headless profile) - Node.js = 18 (建议 20+——插件与验证脚本用到较新的 Node 特性) - 已配置可用的模型服务( settings.yaml 的 agent-default-model ) - 目标预设已存在于部署的 roster 中(如 router-spec 、 minimal ) 这是一个 dsh 插件,不是独立 npm 包 :必须通过 dsh plugin add 装进 dsh profile,仓库不打包 dsh 运行时。 安装 Windows 注意 : file: 本地路径若 包含空格 , dsh plugin 转发给 pnpm 时可能 被拆断(实测 E:/BaiduSyncdisk/SD Manager/dsh-preset-run 会报 ERR PNPM LINKED PKG DIR NOT FOUND )。这种情况请改用 GitHub 安装,或把仓库 clone 到无空格路径,或使用 8.3 短路径。 安装完成后 重启 web 进程 生效: preset run 是 host-plane 工具,重启后所有 会话都能调用。 dsh plugin 命令会:pnpm 安装依赖 → 检测到 package.json 的 dsh.bundle.patch 声明 → 自动把 preset-run 追加进 profile 的 dsh.profile.bundles 层列表 → 重启后 cordis.patch.yml 的插件行随 bundle 层一起装载。 依赖处理 本插件运行时 import @deepseek-ai/dsh-tools 、 dsh-agent 、 dsh-llm 、 dsh-session 。它们 只作为 peerDependencies 声明,不放进 dependencies : - 这些包由承载该 profile 的 dsh harness 安装提供; - 一旦声明为 dependencies , pnpm add 会把这些包提升进 profile…
在 GitHub 查看完整 README →分类
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 87,271
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 28,588
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,692