DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

@goodandready/dsh-goal

Goal

面向 DeepSeek Harness 的自主目标执行与多轮任务跟踪引擎,带固定页眉

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

npx -y @deepseek-ai/dsh plugin --profile web add @goodandready/dsh-goal@0.2.5
README兼容性版本

兼容性与来源证明

Goal 以 @goodandready/dsh-goal 发布,当前版本为 0.2.5。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.2.5stable
2026/9/19
0.2.4stable
2026/9/18
0.2.3stable
2026/9/17
查看其余 14 个版本收起版本
0.2.2stable
2026/9/15
0.2.1stable
2026/9/13
0.2.0stable
2026/9/13
0.1.10stable
2026/9/13
0.1.9stable
2026/9/12
0.1.8stable
2026/9/12
0.1.7stable
2026/9/12
0.1.6stable
2026/9/12
0.1.5stable
2026/9/10
0.1.4stable
2026/9/8
0.1.3stable
2026/9/5
0.1.2stable
2026/9/5
0.1.1stable
2026/9/4
0.1.0stable
2026/9/4
最新版
0.2.5
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
227.1 kB
文件数
18
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
1,037
安全扫描
✓ v0.2.5 扫描通过
最近提交
2026/9/19
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

README

📦 @goodandready/dsh-goal

Autonomous Goal Execution & Multi-Turn Task Tracking Engine with Sticky Header for DeepSeek Harness

🇬🇧 English • 🇷🇺 Русский • 🇨🇳 中文说明

⭐ If you like this plugin, please star it on GitHub — it shows me that the plugin is useful to you and motivates me to keep developing it.

🐛 If you find a bug or would like to request a feature, open a GitHub issue in any language — I will review your proposal and implement useful suggestions in a future plugin version.

⚡ Overview & The Problem

Complex engineering tasks require multi-step autonomy: decomposing high-level objectives into sequential milestones, executing iterations without requiring manual user re-prompting, and maintaining clear visibility into task progress.

Without an autonomous tracking framework, agents can lose context across turns, stall in passive loops, or fail to notify users when complex workflows stall.

@goodandready/dsh-goal introduces Goal Mode to DeepSeek Harness:

  • 💡 Live Steering & Nudge (Added in v0.2.0): Dynamically clarify, amend, or guide the agent's active objective on the fly without aborting the loop.
  • 🔔 Native Browser Notifications (Added in v0.2.0): Zero-dependency desktop push notifications via HTML5 Notification API when long-running goals complete or require attention.
  • 📑 10 Quick Launch Presets (Added in v0.2.0): Ready-to-use engineering prompt chips (Fix Bug, Refactor YAGNI, Tests & Coverage, Code Review, Security Audit, New Feature, Docs, Upgrade Deps, Dead Code Cleanup, Performance).
  • 🛡️ Tool-Failure Breaker (Added in v0.2.0): Configurable consecutive tool error limit (consecutiveToolFailureLimit, default: 3) to halt loops upon repetitive tool crashes and prevent token burn.
  • 📌 Git Checkpoint Snapshot (Added in v0.2.0): Automatically captures start commit hash (git rev-parse --short HEAD) with 1-click git diff / rollback command in details modal.
  • 🐙 GitHub & Gitea PR Comment Export (Added in v0.2.0): One-click formatted comment generator with collapsible <details><summary> milestone cards and token telemetry.
  • 🎯 Sticky Top Goal Banner: Pinned header over composer dock with live elapsed timer (• 2s, • 1m 45s), real-time status badge (RUNNING, PAUSED, COMPLETED), active goal title, and control actions.
  • ⏸️ Play / Pause / Resume / Cancel: Instantly pause the autonomous loop or resume execution on demand via buttons or /goal command.
  • 📋 Milestone Breakdown & ETA: Interactive checklist showing sub-tasks, completion status (pending, in_progress, completed, failed), progress bar, and dynamic completion ETA.
  • 🌐 Multi-Language Auto-Detection (Added in v0.1.9): Prompt injection, autonomous follow-ups, and UI badges automatically follow the user's input language (English by default, Chinese, or Russian when entered in Cyrillic).
  • 🔘 Quick Launch Button (Added in v0.1.8): Fast goal launcher docked above the message input with instant objective prompt modal. Toggleable in settings.
  • 📊 Token Usage Tracking & Markdown Export (Added in v0.1.7): Accumulated prompt, completion, and total tokens tracked per session with one-click Markdown summary export.
  • 🤖 Autonomous Agent Contract: Provides goal_set_milestones, goal_update_progress, and goal_finish tools directly to the agent.
  • 🔄 Core DSH Goal Tools Interception (Added in v0.1.10): Seamless drop-in compatibility for models calling built-in DSH goal tools (update_goal, get_goal, create_goal). Intercepts actions (complete, pause, resume, edit, blocked), bypasses rigid authority restrictions that caused crashes (complete and blocked require a direct human turn), and routes all state updates directly to GoalEngine.
  • 🛡️ Safety Guardrails: Configurable maxIterations safety limit and Smart Progress Guard to catch and pause idle turns without progress.
  • 🔔 Web Audio Chimes: Pleasant synthesized audio feedback on goal completion or failure via Web Audio API.

🏛️ Architecture

graph LR
    subgraph UserInterface ["User Interface & Interaction"]
        Cmd["Slash Command: /goal &lt;objective&gt;"]
        Dock["Sticky Goal Banner (conversation.input.dock)"]
        Modal["Goal Details & Milestone Modal"]
        QuickLaunch["Quick Launch Goal Button"]
    end

    subgraph GoalEngineCore ["Goal Engine Core (lib/goal-engine.js)"]
        State["State Manager (IDLE, RUNNING, PAUSED, COMPLETED)"]
        Milestones["Milestone Tracker & ETA Calculation"]
        DiskStore["Persistence Store (goal-state.json)"]
        LangDetector["detectLanguage (en, zh, ru)"]
    end

    subgraph AutonomousLoop ["Autonomous Drive & Turn Coordinator (lib/index.js)"]
        TurnHook["ctx.on('turn/end') AutoDrive"]
        Guard["Smart Progress Guard & Iteration Limiter"]
        PromptInject["getStatePromptInjection"]
    end

    subgraph AgentTools ["Cordis Registered Tools"]
        ToolSet["goal_set_milestones"]
        ToolProgress["goal_update_progress"]
        ToolFinish["goal_finish"]
    end

    Cmd --> GoalEngineCore
    Dock --> GoalEngineCore
    QuickLaunch --> GoalEngineCore
    GoalEngineCore --> DiskStore
    GoalEngineCore --> AutonomousLoop
    AutonomousLoop --> PromptInject
    GoalEngineCore --> Modal
    AgentTools --> GoalEngineCore
    AutonomousLoop --> Guard

✨ Features & Module Breakdown

1. lib/goal-engine.js — State Engine

Zero external dependency core managing session goals, milestone states, elapsed time calculations, ETA forecasts, token accumulators, and crash recovery hydration.

  • Auto Language Detection: Automatically analyzes goal title and parameters (detectLanguage) to select English (en), Chinese (zh), or Russian (ru).
  • ETA Estimator: Predicts remaining time based on average milestone velocity: $$\text{ETA} = \frac{\text{elapsed}}{\text{completedMilestones}} \times \text{remainingMilestones}$$
  • Low-Latency State Serialization: Synchronous debounced atomic file persistence to prevent data loss on crashes.

2. lib/command-handler.js — Slash Commands

Handles /goal commands and subcommands:

  • /goal <objective>: Starts a new autonomous goal.
  • /goal pause: Pauses current goal and halts agent turn.
  • /goal resume: Resumes execution and triggers agent continuation.
  • /goal clear: Resets session goal to IDLE.
  • /goal: Shows status, elapsed time, ETA, iterations, tokens, and active milestones.

3. lib/index.js — DSH Cordis Lifecycle Coordinator

  • Registers REST API endpoints (GET /dsh-goal/state, POST /dsh-goal/action, GET /dsh-goal/events SSE stream).
  • Subscribes to turn/end for zero-latency turn-to-turn auto-drive using setImmediate.
  • Listens to approval/asked to automatically pause goal when operator confirmation is needed.
  • Registers agent tools: goal_set_milestones, goal_update_progress, goal_finish.
  • Seamlessly shadows core DSH goal tools: update_goal, get_goal, create_goal with zero collision and full GOAL_OUTPUT schema compliance.

4. lib/client.js — Frontend Web UI

  • Sticky Top Banner: Mounts via slot conversation.input.dock with live timer, status badge, pause/resume, and details button.
  • Goal Details Modal: Full milestone list, progress bar, token statistics, and 📋 Markdown Report Copy.
  • Quick Launch Button: Floating launcher for rapid goal formulation without typing slash commands.
  • Plugin Settings Card: Schemastery-backed settings UI registered via settings.plugin.item.

📦 Installation

dsh plugin --profile web add @goodandready/dsh-goal

Restart your DeepSeek Harness instance and refresh the browser.


💬 Usage & Quick Start

1. Start a Goal via Chat

Simply enter the /goal slash command:

/goal Refactor authentication middleware and cover with unit tests

The agent will immediately:

  1. Establish a structured milestone plan via goal_set_milestones.
  2. Advance through milestones, marking each in_progress and completed via goal_update_progress.
  3. Conclude with a full summary via goal_finish.

2. Quick Launch Button

Click the Start Goal button directly above the message input box, type your objective, and click Start Goal.

3. REST API Control

Control goals programmatically via HTTP:

# Start a goal
curl -X POST http://localhost:3080/dsh-goal/action \
  -H "Content-Type: application/json" \
  -d '{"action":"start","title":"Implement automated backup pipeline"}'

# Pause
curl -X POST http://localhost:3080/dsh-goal/action \
  -H "Content-Type: application/json" \
  -d '{"action":"pause"}'

# Resume
curl -X POST http://localhost:3080/dsh-goal/action \
  -H "Content-Type: application/json" \
  -d '{"action":"resume"}'

# Inspect live state
curl http://localhost:3080/dsh-goal/state

⚙️ Configuration Reference (settings.yaml)

Configure settings in settings.yaml or through the Settings → Plugins → Goal Mode UI card:

dsh-goal:
  maxIterations: 25
  autoDrive: true
  enableSound: true
  showQuickLaunchButton: true
  consecutiveToolFailureLimit: 3
  enableBrowserNotifications: true
ParameterTypeDefaultDescription
maxIterationsnumber25Safety limit: maximum autonomous turns per goal
autoDrivebooleantrueKeep the autonomous agent loop running between turns
enableSoundbooleantruePlay audio chime when a goal completes or fails
showQuickLaunchButtonbooleantrueShow the quick launch goal button above the composer dock
consecutiveToolFailureLimitnumber3Auto-pause goal if N consecutive turns hit tool execution errors (0 to disable)
enableBrowserNotificationsbooleantrueShow native desktop push notifications on goal completion or failure

🧪 Testing

Run unit and integration tests:

npm test


📦 Release Notes

v0.2.3

  • Auto-Updater: Integrated one-click update API endpoint at /api/dsh-goal/update with fail-closed origin checks.
  • Modular Architecture: Decomposed server codebase into focused submodules (<600 lines each) for routes, tools, store, reports, and updater.
  • Strict i18n Separation: Purged hardcoded internal Russian strings/branches from lib/*.js; canonical English and Chinese core with Russian provided via @goodandready/dsh-russian-lang.
  • Reliability & Resilience: Eliminated all empty catch blocks, added contextual logging on deferred tool completions, and prune dead SSE streams on error.
  • Design System Fidelity: Replaced foreign CSS classes and hardcoded RGBA colors with native DSH theme design tokens (--dsw-alias-*).
  • Settings Scope Protection: Resolved null/loading status handling in the settings card to prevent false ready state.

📄 License

MIT © GooDAnDReaDY