dshbase

插件目录 / Knowledge / dsh-context-badge

dsh-context-badge

已验证 · 实测可装 LeslieWylie

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-17最近推送
跨平台平台

功能简介

Local-first context notes and todos for DeepSeek Harness, with an optional macOS foreground-window companion.

✅
我们的评价
可用 — 实测通过,早期项目

Local-first context notes and todos for DeepSeek Harness, with an optional macOS foreground-window companion. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-context-badge

Local-first context notes and todos for DeepSeek Harness, with an optional macOS foreground-window companion.

What it does

  • Adds a small context badge to the DSH composer dock.
  • Keeps notes and todos per DSH session or workspace in browser localStorage, with automatic v1 migration.
  • Shows the current DSH session, workspace basename, turn/step counts, and token summary when available.
  • Lets you switch between session context and workspace context, see save status, clear completed todos, and review the eight most recently updated contexts.
  • Automatically keeps the first five loaded user/steering messages for each session and derives a local purpose line from the first message; no model call or remote sync is involved.
  • Ships an optional macOS menu-bar / always-on-top companion that tracks only the foreground application and window title.
  • Stores companion data under ~/Library/Application Support/ContextBadge/contexts.json.

No screenshots, keystrokes, network calls, model calls, or remote sync are used.

DSH installation

From the repository root:

dsh plugin add ./

For a profile-local development link, add the package through the profile's plugin configuration and restart the DSH web service. The bundle id is dsh-context-badge.

macOS companion

Requires macOS 13+ and Swift 5.9+:

npm run run:macos

The first run may require allowing the app to observe window metadata in macOS privacy settings. If a title is unavailable, the badge still works with the foreground application name. The companion keeps the eight most recent foreground contexts and lets you reopen an older context from the panel.

To keep it running after login and relaunch it if it exits:

npm run install:macos

Design boundary

This is a separate context utility. It does not alter model routing, prompts, permissions, billing, or agent presets.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-context-badge」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:LeslieWylie/dsh-context-badge

Headless(CLI)profile:

dsh plugin --profile headless add github:LeslieWylie/dsh-context-badge

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Knowledge 里更多

浏览全部 7819 个插件 →