863683348/dsh-plugin-focus0

dsh-plugin-focus

Focus board for DeepSeek Harness agents: durable, model-maintained notes in the session workspace that pin the objective, constraints, and decisions across compaction and sessions — with automatic context injection, an archive on clear, and an optional read-only web panel

AI 분석

核心用于在DSH会话中持久化记录任务目标、约束和决策,防止因上下文压缩或跨会话而丢失关键任务信息。适合执行复杂、长周期开发或研究任务的用户。

패키지
dsh-plugin-focus
버전
1.0.1
라이선스
MIT
최근 업데이트
2026. 8. 16.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:863683348/dsh-plugin-focus

Usage (model side)

actionargsbehavior
setnote (required)append an entry pinning the current focus / constraints
appendnote (required)append a log entry (decision, discovery, reversal)
getread the whole board (newest first, capped, omitted-count footer)
clearempty the board; the old board is archived to the archive file

The plugin also injects a focus:instructions prompt section (disable with personaSection: false) and re-injects the board into context automatically (disable with autoInject: false).

Configuration

All optional, on the composition row's config:

keydefaultmeaning
file.dsh/focus.mdboard path, relative to the session workspace; cannot escape it (runtime-enforced)
archiveFile.dsh/focus.md.bakarchive path for clear
archivetruewhether clear archives first
maxEntries60max entries kept on disk (oldest dropped)
maxChars8000render cap for get / auto-injection (view truncation only)
autoInjecttrueinject the board into model context at turn start / on change
personaSectiontrueregister the prompt-guidance section
sectionOrder5prompt section order (persona is 0, ascending)