Blaczz/dsh-achievements

Plugin插件 Native原生 ⭐ 2 MIT Sessions & Context会话与上下文

DeepSeek Harness 成就与游戏化插件:跨会话徽章,涵盖回合数、工具调用、会话次数和每日连续打卡,配备徽章面板、解锁通知和 ctx.achievements 服务。核心零改动。

Project Overview项目介绍

This is a purpose-built gamification achievement plugin that exists only for DeepSeek Harness (DSH). It ships with a native DSH bundle manifest and is packaged as a Cordis plugin, matching DSH's native plugin specification. It adds a full achievement layer to DSH with 68 total achievements split across seven five-tier lifetime growth lines, per-session behavior badges, and session trajectory chains. It only uses DSH's official read-only event seam and does not require any modifications to DSH's core code to work. It can be installed directly from the DSH plugin store or cloned and loaded manually following standard native plugin steps.

When users interact with DSH through starting sessions, calling tools, reading or editing files, or running tests, the plugin automatically tracks behavior against achievement conditions. When a condition is met, the plugin sends a real-time unlock toast notification to the DSH web interface, and updates the persistent achievement state. Users can view all their unlocked achievements, XP totals, level progress, and rarity statistics on the dedicated badge wall added to DSH's settings page. They can also generate shareable achievement cards or a yearly "Agent Wrapped" summary of their DSH usage. This plugin is targeted at DSH users who want to add a fun gamified layer to their daily agent usage.

The plugin is released under the open source MIT license, and stores all achievement state as a plain JSON file in the DSH home directory. Old version state is migrated automatically and losslessly when the plugin is updated, and duplicate unlock notifications are suppressed on first run after installation or upgrade. It is designed to be privacy-first: shared content only includes aggregate achievement data, never raw file paths or command strings. It also includes a public SDK that lets third-party developers create and add their own custom achievement packs to the system. It fills a previously empty gap in the DSH ecosystem, as there was no unified achievement system before this release.

这是专门为 DeepSeek Harness (DSH) 开发的原生成就插件,为DSH添加了完整的游戏化成就系统图层,一共包含68个成就,分为七个五级成长线、会话行为徽章和会话轨迹链三类。插件自带DSH插件清单和Cordis插件配置,仅通过DSH官方提供的只读事件接口工作,不需要修改DSH的核心代码就能正常运行。

核心功能包含成就实时解锁提示、设置页内的成就徽章墙、可分享的成就卡片和年度成就总结Agent Wrapped,还开放了第三方成就包开发的公共SDK。用户在日常使用DSH的过程中,只要达成成就条件就会自动实时解锁,累计XP提升等级,所有成就解锁记录都会永久保存。

插件采用MIT许可开源,成就状态会以JSON文件形式保存在DSH用户目录下,旧版本数据可以无损迁移,设计上优先保护隐私,不会外传文件路径等用户敏感信息。它填补了DSH生态缺少统一成就徽章系统的空白,适合想要给日常使用DSH增加一点游戏化乐趣的用户。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add "github:Blaczz/dsh-achievements#main"

把 Blaczz/dsh-achievements 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-achievements 🏆Awesome DSH Plugin

A gamification layer for DeepSeek Harness (DSH): 68 achievements across seven five-tier growth lines, session behavior badges and trajectory chains — with real-time unlock toasts, a badge wall in the settings page, shareable cards, Agent Wrapped and a public SDK for third-party packs. Zero core changes.

简体中文

📸 Screenshots

Achievements panel: profile card, rarity stats, lifetime counters and the grouped badge wall Expanded cards: icon, rarity, description, progress, XP and unlock timestamp
Achievements panel Achievement cards

✨ Highlights

  • 68 achievements in three product lines — seven five-tier lifetime growth lines (rarity strictly common → uncommon → rare → epic → legendary), 10 session behavior badges, and 20 session trajectory achievements across four extra chains (one of them fully hidden). Every unlock earns XP, raises your level and persona, and is timestamped on the badge wall.
  • Real-time unlocks, no extra server — new achievements stream to the browser over SSE, with a 30s polling fallback (plus refresh on focus/visibility). A first-snapshot baseline means reinstalls and upgrades never produce a toast storm.
  • Zero core changes — the Host half listens only to the official session/event seam: turn/end, step/start, assistant/message, step/end, tool/call, tool/result, and Code Mode's tool/code-dispatch. All read-only events; no core patches, no forks of the runtime.
  • Pure, unit-testable core — a strict three-layer pipeline: event classifier → state reducer → unlock evaluate. Each layer is a pure function with its own tests: 19 test files, 251 tests, all green.
  • State that survives and upgrades cleanly — v2 state (profile + per-session buckets) persists as a JSON file in the DSH home directory; v1 states migrate losslessly. Lifetime counters live on the profile and never depend on the 64-session retention window, with a conservative lower-bound backfill on upgrade; already-satisfied milestones are silently reconciled at startup (no reducer, no session attribution, no broadcast).
  • O(1) trajectory tracking — P7 session facts are maintained at low-frequency boundaries only (step/start, assistant/message, step/end, settled tool calls); per-token chunks are never consumed or persisted.
  • Privacy-safe by construction — share text, share cards, Agent Wrapped and achievement chains read aggregate counters, achievement metadata, persona and level only. File paths and command strings never leave the engine.
  • Open SDK — third-party Host plugins register achievements via ctx.achievements.register / registerPack and share the exact same evaluation path as the built-ins; duplicate ids throw immediately. Other client plugins read state through ctx.achievementsState.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev citeguard 下一个 Next dsh-plugin-usage →