chenkai2/dsh-daemon
chenkai2★ 0JavaScript最后同步: 2026-08-18
dsh daemon: register the DeepSeek Harness web server (dsh web) as an auto-start, self-healing background service (LaunchAgent / systemd / cron + watchdog)
README 摘要
dsh-daemon 中文 English 将 DeepSeek Harness 网络服务( dsh web )注册为 自启动、自愈 的后台服务。 安装后, dsh web 将: - 登录时自动启动(LaunchAgent RunAtLoad / systemd WantedBy=default.target / cron @reboot ) - 睡眠唤醒后自动重启 - 自愈:watchdog 每 30 秒 (可配置)健康检查一次 http://127.0.0.1: /health ,连续 3 次失败后重启服务 - 不依赖当前会话:watchdog 是独立生成的脚本,而非内存中的插件 安装/卸载 永远不会触碰 当前正在运行的会话。 账号对应关系(npm scope / GitHub 账号)见 CONTEXT.md。 使用方式 方式 A —— 用 dsh plugin 安装(v0.1.9+,推荐) 1. 用官方插件管理器将包安装到 web profile (在 profile 目录内运行 pnpm,使 loader 能解析到它;仅全局安装不够——见下): (需要 PATH 上有 pnpm ——用 corepack enable 一次性启用。) 为什么不能只 npm install -g ?loader 以 Node ESM 解析导入 name: 行,解析锚点是 profile 目录( /.dsh/profiles/web/ );全局 node modules 不在该解析链上( NODE PATH 对 ESM 无效)。profile 自己的 node modules ——由 pnpm 管理——才是包可达的原因。 2. 重启 dsh web 。包声明了 dsh.bundle manifest, dsh plugin add 会把它自动加入 dsh.profile.bundles ,启动时作为 bundle 层挂载—— 不需要 (也 不应该 )再手动往 /.dsh/profiles/web/cordis.patch.yml 里 insert 同一行,否则会触发 duplicate loader entry id: dsh-daemon 启动失败。 七个 dsh daemon 工具即可供每个 agent 使用——直接让 agent 运行 dsh daemon install 。 以后升级: dsh plugin --profile web update @chenkai114/dsh-daemon (并重启)。 ⚠️ 从 v0.1.8 及更早版本升级:如果你之前按旧文档在 /.dsh/profiles/web/cordis.patch.yml 里手动加过 - insert: dsh-daemon 行,升级后必须 删掉那一行 (保留文件里其他内容),否则 bundle …
在 GitHub 查看完整 README →分类
🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
★ 68,716
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 31,761
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 23,757