@goodandready/dsh-goal
自主目标执行与多轮任务里程碑追踪 适合需要通过/goal命令或按钮制定计划、跟踪多轮任务进度的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GooDAnDReaDY/dsh-goal说明文档
阅读完整 README ↗💬 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:
- Establish a structured milestone plan via
goal_set_milestones. - Advance through milestones, marking each
in_progressandcompletedviagoal_update_progress. - 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:
## ⚙️ Configuration Reference (`settings.yaml`)
Configure settings in `settings.yaml` or through the **Settings → Plugins → Goal Mode** UI card:
```yaml
dsh-goal:
maxIterations: 25
autoDrive: true
enableSound: true
showQuickLaunchButton: true
consecutiveToolFailureLimit: 3
enableBrowserNotifications: true
maxTokenBudget: 0
budgetWarningThreshold: 80
autoCheckpointOnMilestone: false
| Parameter | Type | Default | Description |
|---|---|---|---|
maxIterations | number | 25 | Safety limit: maximum autonomous turns per goal |
autoDrive | boolean | true | Keep the autonomous agent loop running between turns |
enableSound | boolean | true | Play audio chime when a goal completes or fails |
showQuickLaunchButton | boolean | true | Show the quick launch goal button above the composer dock |
consecutiveToolFailureLimit | number | 3 | Auto-pause goal if N consecutive turns hit tool execution errors (0 to disable) |
enableBrowserNotifications | boolean | true | Show native desktop push notifications on goal completion or failure |
maxTokenBudget | number | 0 | Safety token ceiling (0 = disabled); triggers soft-pause when exceeded |
budgetWarningThreshold | number | 80 | Percentage of budget consumed before warning model to wrap up |
autoCheckpointOnMilestone | boolean | false | Automatically create git snapshot commits upon milestone completion |